mirror of https://github.com/apache/cassandra
cqlsh: Fix UDT field selection
Patch by Philip Thompson; reviewed by Tyler Hobbs for CASSANDRA-7891
This commit is contained in:
parent
488e775cc1
commit
8589d04739
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue