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


##########
src/java/org/apache/cassandra/cql3/statements/SelectStatement.java:
##########
@@ -1605,7 +1612,13 @@ private String asCQL(QueryOptions options, ClientState 
state)
         ColumnFilter columnFilter = 
selection.newSelectors(options).getColumnFilter();
         StringBuilder sb = new StringBuilder();
 
-        sb.append("SELECT ").append(queriedColumns().toCQLString());
+        String columns = selection.getColumnMapping()

Review Comment:
   I was looking for a raw query to log but I was not able to get it. This 
works only partially. If the query is `select count(*) from ks.tb`, then this 
will log it as `select count from ks.tb` which missing the asterisk.



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