Releases: alexmalins/harlequin-databricks
Releases · alexmalins/harlequin-databricks
Release v0.6.2
Bug Fixes
- Ensure LICENSE file gets packaged in distribution - this is needed for the conda-forge feedstock (cf. conda-forge/harlequin-databricks-feedstock#13) (#22).
Release v0.6.1
- Features
- Relax
harlequinversion to>=2.0.4to allow conda-forge builds again (#21).- harlequin's conda-forge feedstocks for >=2.0.5 are currently blocked by
tree-sitter-sqlnot yet being on conda-forge. This is then blockedharlequin-databricksfeedstock for 0.6.0
conda-forge/harlequin-feedstock#56
conda-forge/harlequin-databricks-feedstock#12
- harlequin's conda-forge feedstocks for >=2.0.5 are currently blocked by
- Code Quality
Release v0.6.0
Release v0.5.2
Breaking Changes
- Drops support for Python 3.8 (#17).
- Require latest versions of Harlequin
>=1.25.2, databricks-sql-connector>=3.7.0and
databricks-sdk>=0.40.0(optional extra), and avoid upper version bounds on requirements to avoid
dependency hell (more here: databricks/databricks-sql-python#452 &
tconbeer/harlequin@a50dfac#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R64)
(#17).
Code Quality
- Reduce unused mypy ignores (#17).
Release v0.5.1
Fix bug to properly resolve initialization script paths starting with ~ (i.e. user's home dir) supplied to --init-path.
Release v0.5.0
Add support for initialization scripts. By default harlequin-databricks will attempt to run an initialization script of SQL commands against Databricks from ~/.databricksrc or from the file specified via the --init-path CLI option. This means you can e.g. set a default catalog (USE CATALOG ...), timezone, or set of user-defined variables for the session. It is possible to disable initialization via the --no-init CLI flag, having no ~/.databricksrc file, or feeding a non-existent file path to --init-path. (#14)
Release v0.4.0
Features
- Add support for cancelling queries mid-flight. Requires Harlequin
>=1.24.0which introduced the "Cancel Query" button. - Add support for Azure in OAuth user-to-machine authentication for Databricks running on Azure.
- Add support for OAuth machine-to-machine (M2M) authentication to Databricks. This allows you to use service principle credentials to connect to Databricks via Harlequin, useful for testing. To use OAuth M2M, supply a
--client-idand a--client-secret(i.e. a service principle OAuth token) via CLI arguments. - Better error handling and debug messages when database query errors occur.
Release v0.3.1
Bug Fixes
- Fix
UnicodeDecodeErroron Windows due to incorrectly attempting to readfunctions.csvusing
CP-1252. Now UTF-8 is enforced on all file writes and reads (#7).
Features
- Update list of Databricks SQL functions for completions (valid as of August 2, 2024).
- Add harlequin-databricks screenshot to README.
Release v0.3.0
Features
- Implement the
close()method ofHarlequinConnectionso that the Databricks connection is
closed when Harlequin exits. - Update list of Databricks SQL functions for completions (valid as of April 24, 2024).
Release v0.2.1
Bug Fixes
- Fix SQL created in the Query Editor by double clicking on catalog, schema, table or column
names in the Data Catalog pane. Previously items were wrapped in double quotes, which is invalid
Databricks SparkSQL. - Fix outstanding ruff and mypy errors.