smiklosovic commented on code in PR #4115:
URL: https://github.com/apache/cassandra/pull/4115#discussion_r2058624988


##########
src/java/org/apache/cassandra/cql3/constraints/ConstraintFunction.java:
##########
@@ -41,13 +44,22 @@ public abstract class ConstraintFunction
 {
     public static final List<Operator> DEFAULT_FUNCTION_OPERATORS = 
List.of(EQ, NEQ, GTE, GT, LTE, LT);
 
-    protected final ColumnIdentifier columnName;
+    protected ColumnIdentifier columnName;
     protected final String name;
+    protected final List<String> args;
+    // args as propagated from cql
+    protected final List<String> rawArgs;
 
-    public ConstraintFunction(ColumnIdentifier columnName, String name)
+    public ConstraintFunction(String name, List<String> args)
     {
-        this.columnName = columnName;
         this.name = name;
+        this.rawArgs = args;
+        this.args = unquote(args);

Review Comment:
   I want to work with unquoted arguments, quoted (if any) from CQLSH are here 
for description only



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to