joao-r-reis commented on issue #1759: URL: https://github.com/apache/cassandra-gocql-driver/issues/1759#issuecomment-2506310045
> By the way, is it possible to type cast the ExecutableQuery to *Query or *Batch now in the HostSelectionPolicy implementation? This is also an issue for CASSGO-22, the current proposal ([comment here](https://issues.apache.org/jira/browse/CASSGO-22?focusedCommentId=17898720&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17898720)) is to add a `RetryableQuery` interface (implemented by a new internal struct that is not immutable) and add a `GetQuery()` method to `RetryableQuery` so get the original `Query` or `Batch` object if a custom retry policy needs to access it. @martin-sucha can you provide feedback on that ticket ([CASSGO-22](https://issues.apache.org/jira/browse/CASSGO-22))? It's potentially a significant change of the API so it would be nice to get as much feedback as possible. CASSGO-22 changes will impact what happens with this current issue as well. -- 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]
