-
Notifications
You must be signed in to change notification settings - Fork 32
Update vector support to work done in JAVA-3061, add JSON codecs #480
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
Conversation
|
Local testing looks good: Jenkins build currently failing since the relevant Java driver hasn't been published yet. |
| <reactor.version>2020.0.19</reactor.version> | ||
| <config.version>1.4.2</config.version> | ||
| <netty.version>4.1.77.Final</netty.version> | ||
| <netty.version>4.1.94.Final</netty.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Netty upgrade required to match the new version in the Java driver (upgraded as of JAVA-3050). Without this we get weird mismatch errors on the tcnative usage.
what we're doing in the Java driver's VectorCodec
|
Following the example of what was outlined in the earlier PR: Given the following table: With the changes in this PR we can now load and unload JSON data into this table: Data on the server side matches up to what we'd expect: |
Shouldn't this be as below? |
msmygit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a trivial question, but everything else LGTM
weideng1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Good find @msmygit ! I originally put this code together using what is now a quite old build of datastax/cassandra. I think the "order by" syntax was added after I did my original work so you are quite right, what I had above is now out-of-date. Based on some experiments with cqlsh on a version built from source as of about an hour ago it looks like the correct syntax now is actually the following: The good news is that the CQL parser contained by dsbulk appears to be fine with that syntax as well: Does all that hang together for you? |
Update dsbulk to work with latest changes in JAVA-3061