databrickslabs / lsql

Lightweight SQL execution wrapper only on top of Databricks SDK
https://pypi.org/project/databricks-labs-lsql/
Other
8 stars 3 forks source link

add option to not lower case sql when running lsql fmt #253

Closed HariGS-DB closed 2 weeks ago

HariGS-DB commented 2 weeks ago

When lsql fmt is run it converts all queries to lower cases. Sometimes when data contains a map field containing key: value, the key field is case-sensitive converting to lowercase results in the query returning null.

Solution Please provide the option to not do lowercase when fmting

related issue in ucx described https://github.com/databrickslabs/ucx/issues/2475