Skip to content

Releases: alexmalins/harlequin-databricks

Release v0.6.2

10 Jul 12:47
28bcf8e

Choose a tag to compare

Bug Fixes

Release v0.6.1

06 Jul 00:34
4f29d17

Choose a tag to compare

  1. Features
  1. Code Quality
  • Add classifiers and keywords to pyproject.toml (#20).
  • Update URLs for Databricks SQL keywords (#20).
  • Reorder deps in pyproject.toml (#21).

Release v0.6.0

05 Jul 09:05
ffc5c3a

Choose a tag to compare

  1. Breaking Changes
  • Require databricks-sql-connector>=4.0.4 to fix unable to index data catalog bug (#18).
  • Require harlequin>=2.1.2.
  1. Features
  • Recommend uv as installation method.
  • Update functions syntax highlighting list.
  1. Code Quality
  • Use uv for package management, build backend and CI.
  • Use ruff for linting and code formatting.
  • Drop functional tests in CI against Databricks as test Databricks instance no longer works.

Release v0.5.2

07 Jan 14:48
a315f11

Choose a tag to compare

Breaking Changes

Code Quality

  • Reduce unused mypy ignores (#17).

Release v0.5.1

21 Sep 15:31
438a794

Choose a tag to compare

Fix bug to properly resolve initialization script paths starting with ~ (i.e. user's home dir) supplied to --init-path.

Release v0.5.0

21 Sep 14:34
e0815ff

Choose a tag to compare

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

01 Sep 03:18
d6398c1

Choose a tag to compare

Features

  • Add support for cancelling queries mid-flight. Requires Harlequin >=1.24.0 which 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-id and 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

04 Aug 04:33
c525659

Choose a tag to compare

Bug Fixes

  • Fix UnicodeDecodeError on Windows due to incorrectly attempting to read functions.csv using
    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

27 Apr 14:57
ad0c37d

Choose a tag to compare

Features

  • Implement the close() method of HarlequinConnection so 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

15 Feb 14:45
99fd0f6

Choose a tag to compare

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.