[ https://issues.apache.org/jira/browse/CASSANDRA-19956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941485#comment-17941485 ]
Stefan Miklosovic commented on CASSANDRA-19956: ----------------------------------------------- +1 [CASSANDRA-19956|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19956] {noformat} java17_pre-commit_tests ✓ j17_build 5m 53s ✓ j17_cqlsh_dtests_py311 7m 11s ✓ j17_cqlsh_dtests_py311_vnode 7m 38s ✓ j17_cqlsh_dtests_py38 6m 49s ✓ j17_cqlsh_dtests_py38_vnode 7m 18s ✓ j17_cqlshlib_cython_tests 8m 8s ✓ j17_cqlshlib_tests 7m 0s ✓ j17_dtests_vnode 42m 14s ✓ j17_unit_tests 14m 45s ✓ j17_utests_latest 15m 6s ✓ j17_utests_oa 15m 2s ✕ j17_dtests 50m 33s refresh_test.TestRefresh test_refresh_deadlock_startup ✕ j17_dtests_latest 42m 1s largecolumn_test.TestLargeColumn test_cleanup ✕ j17_jvm_dtests 32m 6s org.apache.cassandra.fuzz.sai.MultiNodeSAITest indexOnlySaiTest TIMEOUTED ✕ j17_jvm_dtests_latest_vnode 31m 36s org.apache.cassandra.distributed.test.ring.CommunicationDuringDecommissionTest internodeConnectionsDuringDecom org.apache.cassandra.fuzz.sai.MultiNodeSAITest indexOnlySaiTest TIMEOUTED {noformat} [java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/5726/workflows/4df08c74-b905-4f33-857c-a881d2b402e5] > Do not fail cqlsh when empty statement is parsed > ------------------------------------------------ > > Key: CASSANDRA-19956 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19956 > Project: Apache Cassandra > Issue Type: Improvement > Components: CQL/Interpreter > Reporter: Stefan Miklosovic > Assignee: Pedro Gordo > Priority: Low > Fix For: 5.x > > Attachments: cqlshlib_tests-1.txt, cqlshlib_tests.txt > > > This really irritates me. > {code:java} > cqlsh> select * from ks.tb;; > ... the result ... > SyntaxException: line 1:0 no viable alternative at input ';' ([;]){code} > The second ";" should not matter. It is same way e.g. in Java. When I do > {code:java} > int a = 5;;;;;;;; {code} > This is just perfectly legal. Indeed, more than one ";" is redundant, but it > still compiles. > We should do same for CQL. > {code:java} > cqlsh> select * from ks.tb;;;;;;;;; {code} > This should not fail. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org