databricks / sqltools-databricks-driver

SQLTools driver for Databricks SQL
Other
10 stars 3 forks source link

Tables in Connection Explorer Appear in Arbitrary Order #83

Open Irishmanluke opened 1 month ago

Irishmanluke commented 1 month ago

I initially added this as an issue to the sqltools project here https://github.com/mtxr/vscode-sqltools/issues/1351 and was told that this would be better handled on the driver side so I'm moving it over here.

I'm noticing that when I view tables in the connection explorer from Databricks the tables seem to appear in an arbitrary order rather than in the SQL Editor and catalog explorer in the Databricks web UI where they appear in lexicographic order.

I think it would be easier to find specific tables in Databricks if the tables were returned by the driver in lexicographic order by table name.