-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support set map value by key and fix dependency #43
base: master
Are you sure you want to change the base?
Commits on Sep 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 14bc2eb - Browse repository at this point
Copy the full SHA 14bc2ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 490ad34 - Browse repository at this point
Copy the full SHA 490ad34View commit details -
[gen] Format generated columns.go
- the template would result in extra space
Configuration menu - View commit details
-
Copy full SHA for c0a9108 - Browse repository at this point
Copy the full SHA c0a9108View commit details -
[test] Bump go and cassandra version in Travis
- #3 - not sure if I can run ccm locally
Configuration menu - View commit details
-
Copy full SHA for 939cc7b - Browse repository at this point
Copy the full SHA 939cc7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c41034 - Browse repository at this point
Copy the full SHA 3c41034View commit details -
[test] Install glide to $GOPATH/bin
- when use /usr/local/bin got permission denied ...
Configuration menu - View commit details
-
Copy full SHA for d524090 - Browse repository at this point
Copy the full SHA d524090View commit details -
[test] Move project to right go path
- it should be using relops/cqlc, but default travis will be using pingginp/cqlc, that's the problem of enable travis on fork
Configuration menu - View commit details
-
Copy full SHA for 2a3fdb1 - Browse repository at this point
Copy the full SHA 2a3fdb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38ead15 - Browse repository at this point
Copy the full SHA 38ead15View commit details -
Configuration menu - View commit details
-
Copy full SHA for c65af03 - Browse repository at this point
Copy the full SHA c65af03View commit details -
Configuration menu - View commit details
-
Copy full SHA for e10a96c - Browse repository at this point
Copy the full SHA e10a96cView commit details -
[test] go get github.com/gocql/cql for generator
- generator generates files in /tmp for testing, so need global gocql in $GOPATH to work ...
Configuration menu - View commit details
-
Copy full SHA for 9d2aff5 - Browse repository at this point
Copy the full SHA 9d2aff5View commit details -
[test] Only test cqlc, remove generator
- generator was comparing type, and due to use vendor and global go path, there will be type mismatch https://travis-ci.org/pingginp/cqlc/builds/428908553
Configuration menu - View commit details
-
Copy full SHA for eca906a - Browse repository at this point
Copy the full SHA eca906aView commit details -
[gen] Add set map value by key #2
- only support `col[?] = ?`, value binding should work, because there was `WHERE foo in (?,?,?)` so in `Prepare` cqlc would flat the slice before passing to gocql - #2 - [ ] TODO: need to test against a real database to see if it works
Configuration menu - View commit details
-
Copy full SHA for 69de726 - Browse repository at this point
Copy the full SHA 69de726View commit details -
Configuration menu - View commit details
-
Copy full SHA for 361e785 - Browse repository at this point
Copy the full SHA 361e785View commit details -
Fix #6 set broadcast_addr and correct port
- in port mapping, was using 904 instead of 9042 ...
Configuration menu - View commit details
-
Copy full SHA for d623f38 - Browse repository at this point
Copy the full SHA d623f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df5870 - Browse repository at this point
Copy the full SHA 3df5870View commit details -
[gen] Set Map value didn't work ...
- got "can not marshal []interface {} into map(varchar, varchar)"
Configuration menu - View commit details
-
Copy full SHA for 69d2188 - Browse repository at this point
Copy the full SHA 69d2188View commit details -
[gen] Bind value for map didn't work #2
- when insert, use SetStringStringMap - when update, SetStringStringMapValue didn't work ... got gocql: expected 3 values send got 2
Configuration menu - View commit details
-
Copy full SHA for 6b9a8cc - Browse repository at this point
Copy the full SHA 6b9a8ccView commit details -
[gen] Flatten binding in BuildStatement #2 works
- BuildStatement is called by Exec, Prepare is called by Fetch, previously flatten is only applied in Prepare
Configuration menu - View commit details
-
Copy full SHA for faf7b6a - Browse repository at this point
Copy the full SHA faf7b6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30cbe8e - Browse repository at this point
Copy the full SHA 30cbe8eView commit details -
[gen] Use separated type for map key value
- previous implementation is wrong, it blindly expand all value slice, which would break AppendSlice, now we use struct KeyValue as binding value and expand based on CollectionType and CollectionOperationType
Configuration menu - View commit details
-
Copy full SHA for 11e8efc - Browse repository at this point
Copy the full SHA 11e8efcView commit details -
[test] Run gocql and cqlc in parallel
- string map worked fine, not sure about slice though ...
Configuration menu - View commit details
-
Copy full SHA for 52941fa - Browse repository at this point
Copy the full SHA 52941faView commit details -
[test] Fix #3 use docker for e2e test
- I don't know if old integration test still work though ....
Configuration menu - View commit details
-
Copy full SHA for 3cff150 - Browse repository at this point
Copy the full SHA 3cff150View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff73b30 - Browse repository at this point
Copy the full SHA ff73b30View commit details -
Merge pull request #4 from pingginp/reboot
Reboot - Fix #1 we are now using glide - Fix #2 support set map by key, the generated interface `cqlc/columns.go` is updated, the runtime `BuildStatement` is updated to flatten the `KeyValue` struct to a slice of length 2 - Fix #3 use docker-compose to test locally and on CI, the e2e works because we don't allow parallel and go will run them serial in the order they are defined. Also if the schema is changed, the test need to be run twice and the first one will fail (same as latex bib index), the generated package can only be pick up next time - Fix #5 we now use template in go code using long text - Fix #6 need to set broadcast_address to 127.0.0.1 and avoid typo in port mapping
Configuration menu - View commit details
-
Copy full SHA for 42d844c - Browse repository at this point
Copy the full SHA 42d844cView commit details
Commits on Sep 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e6dfa5d - Browse repository at this point
Copy the full SHA e6dfa5dView commit details -
[gen] Replace log.Fatalf w/ errors.Errorf
- in generated table definitions, was using log.Fatalf, that function returns error, better just return errors.Errorf
Configuration menu - View commit details
-
Copy full SHA for d457ca9 - Browse repository at this point
Copy the full SHA d457ca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43a4e3a - Browse repository at this point
Copy the full SHA 43a4e3aView commit details -
Merge pull request #9 from pingginp/logrus
[runtime] Use logrus and remove log.Fatal in generated table definition
Configuration menu - View commit details
-
Copy full SHA for d426ffc - Browse repository at this point
Copy the full SHA d426ffcView commit details
Commits on Feb 18, 2019
-
- `gocql.TypeText` was not mapped to string, so generated file is invalid, could be in C*2 there is no Text in mapping ...
Configuration menu - View commit details
-
Copy full SHA for f90e949 - Browse repository at this point
Copy the full SHA f90e949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2760cf7 - Browse repository at this point
Copy the full SHA 2760cf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1893983 - Browse repository at this point
Copy the full SHA 1893983View commit details -
Configuration menu - View commit details
-
Copy full SHA for f33f233 - Browse repository at this point
Copy the full SHA f33f233View commit details -
- support Cassandra 3 - remove logrus and use interface
Configuration menu - View commit details
-
Copy full SHA for fda8beb - Browse repository at this point
Copy the full SHA fda8bebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e4e23e - Browse repository at this point
Copy the full SHA 1e4e23eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f9519 - Browse repository at this point
Copy the full SHA 33f9519View commit details
Commits on Feb 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7fc6fe0 - Browse repository at this point
Copy the full SHA 7fc6fe0View commit details -
- previous release didn't fix the generator entirely, columnTypes mapping also need to be updated to support text #7
Configuration menu - View commit details
-
Copy full SHA for 1de1d77 - Browse repository at this point
Copy the full SHA 1de1d77View commit details
Commits on Mar 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 2684311 - Browse repository at this point
Copy the full SHA 2684311View commit details -
[gen] Allow Eq on all columns for DELTE IF #13
- previously only primary key and those with index support it
Configuration menu - View commit details
-
Copy full SHA for bb26635 - Browse repository at this point
Copy the full SHA bb26635View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1910b32 - Browse repository at this point
Copy the full SHA 1910b32View commit details -
Merge pull request #14 from pingginp/runtime/delete-if
[runtime] Support if in delete statement #13
Configuration menu - View commit details
-
Copy full SHA for 292abab - Browse repository at this point
Copy the full SHA 292ababView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc04d23 - Browse repository at this point
Copy the full SHA fc04d23View commit details