jameshartig opened a new pull request, #1915:
URL: https://github.com/apache/cassandra-gocql-driver/pull/1915

   StatementMetadata can be called on a session to get the bind, result, and pk 
information for a given query. Previously this wasn't publicly exposed but is 
necessary for some implementations of HostSelectionPolicy like token-aware. 
This might also be useful for CI tooling or runtime analysis of queries and the 
types of columns.
   
   NewLogField is a simple method to return a LogField with name and a value. 
This method has the downside of having interface boxing but is simpler than 
making a method per type. We could always expose a method per type later but 
this felt simpler for now.
   
   Finally, session init was cleaned up to prevent a HostSelectionPolicy from 
causing a panic if it tried to make a query during init.
   
   Patch by James Hartig for CASSGO-92


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