We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Temporal bootstraps Cassandra schema.
The initial schema is created but then the first migration at: https://github.com/temporalio/temporal/blob/30c89b9f91dafc13d2d75fda266d81ce8bc72f3e/schema/cassandra/temporal/versioned/v1.0/schema.cql fails probably because of syntax:
CREATE TYPE serialized_event_batch ( encoding_type text, version int, data blob, );
has one comma at the end while the syntax should be: https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/cqlCreateType.html
The text was updated successfully, but these errors were encountered:
temporal | 2022-02-25T22:16:44.483Z INFO Processing schema file: /etc/temporal/schema/cassandra/temporal/versioned/v1.6/cluster_metadata_info.cql {"logging-call-at": "updatetask.go:232"} temporal | 2022-02-25T22:16:44.483Z DEBUG ---- Executing updates for version 1.0 ---- {"logging-call-at": "updatetask.go:150"} temporal | 2022-02-25T22:16:44.483Z DEBUG CREATE TYPE serialized_event_batch (encoding_type text,version int,data blob,); {"logging-call-at": "updatetask.go:152"} temporal | 2022-02-25T22:16:44.552Z ERROR Unable to update CQL schema. {"error": "error executing statement:line 1:92 no viable alternative at input ') (... (encoding_type text,version int,data blob,)...)", "logging-call-at": "handler.go:82"} t
Sorry, something went wrong.
I have never encounter this issue. What version of Cassandra are you using?
Azure CosmoDB Cassandra API. But it's inline with the specs see above, there should not be any trailing comma in the list of fields.
#2551 Fixing syntax in first migration to the Cassandra schema (#2552)
aa817b2
* #2551 Fixing syntax in first migration to the Cassandra schema See #2551 * Removed superfluous comma in temporal schema
yiminc
No branches or pull requests
Expected Behavior
Temporal bootstraps Cassandra schema.
Actual Behavior
The initial schema is created but then the first migration at:
https://github.com/temporalio/temporal/blob/30c89b9f91dafc13d2d75fda266d81ce8bc72f3e/schema/cassandra/temporal/versioned/v1.0/schema.cql
fails probably because of syntax:
has one comma at the end while the syntax should be:
https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/cqlCreateType.html
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: