Propagating SQLWarning to the client #27605
Unanswered
ArthurBesse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a custom JDBC connector and I’m looking for a way to propagate JDBC warnings (
SQLWarning) to the client (in my case, the Trino CLI). ChatGPT suggested that this should be done via theWarningCollectorobject. However, it seems this object is not available in the standard API — it belongs toQueryStateMachineand can be accessed through thegetWarningCollectormethod, butQueryStateMachineis not accessible fromBaseJdbcClient.I would be grateful for any help!
Beta Was this translation helpful? Give feedback.
All reactions