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


##########
src/java/org/apache/cassandra/cql3/terms/Tuples.java:
##########
@@ -63,6 +63,8 @@ public Literal(List<Term.Raw> elements)
 
         public Term prepare(String keyspace, ColumnSpecification receiver) 
throws InvalidRequestException
         {
+            validateTupleAssignableTo(receiver, elements);

Review Comment:
   We just need to move this up a little bit. As of now, it is too late by the 
time we validate it as it fails on `getTupleType` on line 71/73 



-- 
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