-
Notifications
You must be signed in to change notification settings - Fork 186
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
Missing static values #894
Comments
Hi @woupiestek We'll take a look as soon as possible, thank you for the bug report! |
Hi @woupiestek What does your phantom table look like? I don't think this is due to static handling, I think this might be a parse error in the datatype that decodes your timestamp. But I want to be sure, so if you could paste that here that would be helpful. |
@alexflav23 object account extends StringColumn with PartitionKey
object day extends StringColumn with PartitionKey
object ews_id extends StringColumn with PrimaryKey
object start_time extends DateTimeColumn
object end_time extends DateTimeColumn
object status extends StringColumn
/*
* Added to track the last update for each partition
*/
object last_update extends DateTimeColumn with StaticColumn |
We want to use Cassandra to cache Exchange calendars, so they are available when Exchange is not. The following cql defines a table for storing the results of an availability request. The static
last_update
column keeps track of the last time our application wrote to the partition, if any.After filling the table with testdata, I noticed that PhantomDSL gives me
None
when I expectedSome
, using the following code:Meanwhile, the following Datastax based solution does give me what I expect using the following code:
This looks like a bug. I assume it is related to the way PhantomDSL handles static columns, because this is the first time I have tried to use this feature of Cassandra.
The text was updated successfully, but these errors were encountered: