-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get ResultSetMetaData in ClickHousePreparedStatement #1430
Comments
Hi @suhli, could you share the use case? Did you mean |
I'm using Trino as middleware provides the ability to query across different databases.
To be exact,what they need is ResultSetMetaData in PrepareStatement before query execution. |
Thank you for the additional context. Since this is for a push-down query, it would not be ideal to execute the full query just to retrieve the ResultSetMetaData for type inference. Actually I'm also concerned about when to release ResultSet in the original fix. Anyway, as an optimization, we could use |
Is there any way to get the result set metadata without execution like issue #235 ?
I check codes main branch, seems like the reference file change ClickHousePreparedStatementImpl.java with PR #288 has been deprecated
The text was updated successfully, but these errors were encountered: