absurdfarce commented on PR #2005:
URL: 
https://github.com/apache/cassandra-java-driver/pull/2005#issuecomment-2835836578

   @adutra @aratno @tolbertam I'm curious about what you guys think of this.  
Short version:
   
   * C* now defines "ann" and "vector" as unreserved keywords
   * The driver only has logic to specifically quote strings containing 
_reserved_ keywords... since those need to be quoted in all cases when used in 
queries
   * Unreserved keywords need to be quoted in some situations but not others
   
   My current thinking is that there isn't really much we can do here.  Without 
better guidance as to when unreserved keywords should be quoted or not the Java 
driver can't really interject so it's up to the user to quote unreserved 
keywords when appropriate.  If you have a full-blown CQL parser you could do 
better (see the referenced dsbulk issue above) but short of that you're kind of 
limited.
   
   Thoughts?


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