[
https://issues.apache.org/jira/browse/CASSANDRA-16439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283402#comment-17283402
]
Yifan Cai edited comment on CASSANDRA-16439 at 2/12/21, 5:16 AM:
-----------------------------------------------------------------
Starting commit
CI Results:
||Branch||Source||Circle CI||Jenkins||
|trunk|[branch|https://github.com/yifan-c/cassandra/tree/commit_remote_branch/CASSANDRA-16439-trunk-9F115951-ADD4-45E7-849B-04AC5A13B09B]|[build|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=commit_remote_branch%2FCASSANDRA-16439-trunk-9F115951-ADD4-45E7-849B-04AC5A13B09B]|[build|https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/379/]|
Circle CI: yellow. Most of the test passes, except several known flaky/broken
test cases. (CASSANDRA-16355 and CASSANDRA-16415)
Jenkins: yellow. The new failures are not related.
* {{writeWithSchemaDisagreement2}} throws OOME.
* Reran {{testWithStreamingEntireSSTablesWithCompression}} for 10 times and
cannot reproduce the failure.
was (Author: yifanc):
Starting commit
CI Results (pending):
||Branch||Source||Circle CI||Jenkins||
|trunk|[branch|https://github.com/yifan-c/cassandra/tree/commit_remote_branch/CASSANDRA-16439-trunk-9F115951-ADD4-45E7-849B-04AC5A13B09B]|[build|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=commit_remote_branch%2FCASSANDRA-16439-trunk-9F115951-ADD4-45E7-849B-04AC5A13B09B]|[build|https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/379/]|
Circle CI: yellow. Most of the test passes, except several known flaky/broken
test cases. (CASSANDRA-16355 and CASSANDRA-16415)
> Reduce new reserved keywords introduced since 3.0
> -------------------------------------------------
>
> Key: CASSANDRA-16439
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16439
> Project: Cassandra
> Issue Type: Improvement
> Components: CQL/Syntax
> Reporter: Jon Meredith
> Assignee: Jon Meredith
> Priority: Normal
> Fix For: 4.0-beta
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Building on CASSANDRA-16398, for users upgrading from 3.0 to 4.0 there have
> been a few new reserved keywords added that can cause problems with schema
> changes and queries in existing applications. Reducing the number of new
> reserved words makes upgrades easier for users.
> {code:java}
> K_DEFAULT
> K_MBEAN
> K_MBEANS
> K_NEGATIVE_INFINITY
> K_NEGATIVE_NAN
> K_POSITIVE_INFINITY
> K_POSITIVE_NAN
> K_REPLACE
> K_SCHEMA
> K_UNSET
> {code}
> I think they can all be removed from the ReservedWords lists (where present)
> and added to {{basic_unreserved_keyword}} with the exception of the {\{NAN}}
> and \{{INFINITY}} as there could be ambiguity between a selected field and a
> nan/infinity literal.
> To validate I've written a test that extracts the keywords from the parser
> tokens and verifies that any non-reserved keywords can be used as table and
> column names for regular tables and materialized views. It isn't exhaustive
> but provides a good sense check.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]