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
WriteOptions not allowing using timestamp #21
Comments
Can you please be more specific? Where are you attempting to set using options for an insert statement? |
I want to set timestamp in below code: then use the execute(cql, queryWriteOptions); which accepts WriteOptions/QueryOptions as parameter. |
I see TTL here; But the insert syntax accepts TIMESTAMP as below: ::= INSERT INTO ::= |
Here is the link to the syntax: |
Ah, I see. You've caught us midstream on a change where we're deprecating the method If you want to set TTL for an I'm closing this issue, since we're at the underlying C* Java driver's mercy here. Sorry. |
Incidentally, I'm not sure that |
Thanks for the input Matthew. Its very helpful. Also thanking you for adding future support with timestamp. |
I am currently working on setting up the using options for an insert statement using WriteOptions/QueryOptions class. To my surprise, prior to this set and get methods for timestamp were allowed in WriteOptions. May I know why has this been deleted and how can i use the below feature:
insert into table(.....) values(.....) using timestamp 1240003134;
The text was updated successfully, but these errors were encountered: