blerer commented on code in PR #3444:
URL: https://github.com/apache/cassandra/pull/3444#discussion_r1715452931


##########
src/antlr/Parser.g:
##########
@@ -1804,7 +1804,7 @@ relation[WhereClause.Builder clauses]
            | K_BETWEEN betweenValues=singleColumnBetweenValues { 
$clauses.add(Relation.singleColumn(name, Operator.BETWEEN, betweenValues)); }
            | K_LIKE t=term { $clauses.add(Relation.singleColumn(name, 
Operator.LIKE, t)); }
            | K_IS K_NOT K_NULL { $clauses.add(Relation.singleColumn(name, 
Operator.IS_NOT, Constants.NULL_LITERAL)); }
-           | K_IN inValue=singleColumnInValues { 
$clauses.add(Relation.singleColumn(name, Operator.IN, inValue)); }
+           | rt=inOperator inValue=singleColumnInValues { 
$clauses.add(Relation.singleColumn(name, rt, inValue)); }
            | rt=containsOperator t=term { 
$clauses.add(Relation.singleColumn(name, rt, t)); }

Review Comment:
   I wonder if the use of the `rt` variable at 2 places will not be a problem



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to