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

[PECO-1436] [sqlalchemy] Include sqlalchemy __version__ in user-agent

Open susodapop opened this issue 1 year ago • 1 comments

Description

This pr updates our user-agent setting logic for the sqlalchemy dialect so that we include the sqlalchemy package version.

I used this as an opportunity to reorganise the two (now three) user agent tests into their own test class.

Here's an example of how it's recorded in the query history:

CleanShot 2024-01-25 at 19 54 57@2x

susodapop avatar Jan 26 '24 00:01 susodapop

I'm double-checking the correct format. Will hold off on merging this until next week.

susodapop avatar Jan 26 '24 01:01 susodapop