eickler opened a new issue, #942:
URL: https://github.com/apache/arrow-java/issues/942

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The flight-sql-jdbc-driver [permits to set the catalog at connection 
time](https://github.com/apache/arrow-java/blob/385b51eb5bf001e34d71d63b5980a5eabaa38294/flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/client/ArrowFlightSqlClientHandler.java#L389)
 but silently ignores Connection.setCatalog() while being connected. 
   
   As a result, database browsers and other clients relying on setCatalog() 
will show various client-side errors, such as displaying the same set of tables 
regardless of what catalog you select, screwing up SQL code generation and so 
forth. (My test vehicle is DBVisualizer.)
   
   To fix this issue, I propose to implement setCatalog() in the same way as 
already implemented during connection setup. I would set up a PR for this that 
demonstrates the issue using a failing test case in the first commit and a fix 
in the second commit. 
   


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

Reply via email to