dcapwell commented on code in PR #4509:
URL: https://github.com/apache/cassandra/pull/4509#discussion_r2590195089


##########
test/unit/org/apache/cassandra/cql3/ast/Reference.java:
##########
@@ -136,6 +136,12 @@ public String toString()
         return toCQL();
     }
 
+    @Override
+    public Symbol column()
+    {
+        return path.get(0).column();

Review Comment:
   i can better explain in a class doc, but the jist is that `Reference` is 
`foo.bar.baz` and `0` is `foo`; which is the column in *most* cases... there 
are cases where `foo` is a accord `LET` variable, in which this isn't "correct" 
to be called `column`



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