-
Notifications
You must be signed in to change notification settings - Fork 11
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
Can't compile Catalytic 0.1.20 version with scylla_macros 0.2.2 #43
Comments
Hey @guvenir18, thanks for your compliment. The scylla rust driver has been updated this week to a new version with breaking changes. I want to update this crate asap but I am blocked by scylladb/scylla-rust-driver#890. |
@Jasperav Thank you for your quick response, we will wait for them then. I also want to ask another question which is not related to this issue. I want to modify Transformer so it maps TIMESTAMP values into i64 type, not scylla::frame::value::Timestamp. Is this possible ? |
I see that there is no way of converting types sadly... what about changing the timestamp type to a |
Thank you for quick answer, that is probably best solution. I know I asked a lot but one last question. I am trying to write a query using "query!" macro which is "select token(user_id) from users where user_id = ?". This query normally works, I am working on implementing your crate on existing project. I get an error, saying "illegal column: token(user_id)" error. Does this macro works with token function or am I doing something wrong? |
Oh you can ask anything :) Hmm no the token method does not work yet. I read about it here and the return_type can be dynamic? https://opensource.docs.scylladb.com/stable/cql/functions.html Maybe I can make something easy so that it always returns a i64, does that sound good? |
I am new to Rust and database stuff so I am still learning, thanks for your help :) i64 type would be enough for my case. |
@guvenir18 The issue you described here is our (ScyllaDB rust driver team) fault, we accidentally released a semver-incompatible change in For the time being, you should downgrade the
|
This should now be fixed - scylla-macros 0.2.2 was yanked, and re-released as 0.3.0 |
Hello, thank you for this great crate.
My issue is suddenly, I can't compile this crate, I get this error:
Problem might be related to scylla_macros crate. I could compile until yesterday. I compared Cargo.lock files and only difference was scylla_macros crate version is now 0.2.2, which was 0.2.1 until yesterday. 0.2.2 version came yesterday.
The text was updated successfully, but these errors were encountered: