[ https://issues.apache.org/jira/browse/CASSANDRA-8262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199343#comment-14199343 ]
Mikhail Stepura commented on CASSANDRA-8262: -------------------------------------------- Can we change {code} if not rows and not table_meta: return elif not rows: # print header only ... {code} to just {code} if not rows: if not table_meta: return # print header only ... {code} > parse_for_table_meta errors out on queries with undefined grammars > ------------------------------------------------------------------ > > Key: CASSANDRA-8262 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8262 > Project: Cassandra > Issue Type: Bug > Reporter: Philip Thompson > Assignee: Philip Thompson > Labels: cqlsh > Fix For: 2.1.2 > > Attachments: cassandra-2.1-8262-1.txt, cassandra-2.1-8262-2.txt > > > CASSANDRA-6910 introduced changes to the cqlsh function > {{parse_for_table_meta}} that cause an error to be thrown whenever a query > does not have its grammar defined in cql3handling.py. However, this is > affecting queries that are legitimate cql syntax and are accepted by > Cassandra, but aren't defined in cqlsh. -- This message was sent by Atlassian JIRA (v6.3.4#6332)