cqlsh: Fix UDT field selection

Patch by Philip Thompson; reviewed by Tyler Hobbs for CASSANDRA-7891
This commit is contained in:
Philip Thompson 2014-09-19 16:01:30 -05:00 committed by Tyler Hobbs
parent 488e775cc1
commit 8589d04739
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
2.1.1
* (cqlsh) Fix UDT field selection in select clause (CASSANDRA-7891)
* Fix resource leak in event of corrupt sstable
* (cqlsh) Add command line option for cqlshrc file path (CASSANDRA-7131)
* Provide visibility into prepared statements churn (CASSANDRA-7921, CASSANDRA-7930)

View File

@ -605,7 +605,10 @@ syntax_rules += r'''
| "*"
| "COUNT" "(" star=( "*" | "1" ) ")" ("AS" <cident>)?
;
<udtSubfieldSelection> ::= <identifier> "." <identifier>
;
<selector> ::= [colname]=<cident>
| <udtSubfieldSelection>
| "WRITETIME" "(" [colname]=<cident> ")"
| "TTL" "(" [colname]=<cident> ")"
| <functionName> <selectionFunctionArguments>