databricks-sql-python icon indicating copy to clipboard operation
databricks-sql-python copied to clipboard

Expose catalog and schema information from the connection string to the query history system table

Open bkyryliuk opened this issue 9 months ago • 2 comments

Request to expose jdbc / sqlalchemy provided catalog / schema properties in query history system table. Currently it lacks this information and it is not clear in a query select * from bla what table is queried.

A simple solution could be to provide append a comment to the query that specified the selected / default catalog and schema based on the connection string.

bkyryliuk avatar Mar 03 '25 23:03 bkyryliuk

Hey @bkyryliuk Thanks for reporting this. However, this needs some evaluation on feasibility, and we've taken it up.

madhav-db avatar Mar 07 '25 05:03 madhav-db

Thank you!

bkyryliuk avatar Mar 07 '25 19:03 bkyryliuk