Skip to content

1.8.0

Compare
Choose a tag to compare
@kravets-levko kravets-levko released this 08 Feb 12:37
· 25 commits to main since this release
bf3c9ee
  • Retry failed CloudFetch requests (#211)
  • Fixed compatibility issues with Node@14 (#219)
  • Support Databricks OAuth on Azure (#223) @jackyhu-db
  • Support Databricks OAuth on GCP (#224)
  • Support LZ4 compression for Arrow and CloudFetch results (#216)
  • Fix OAuth M2M flow on Azure (#228)

Full diff: 1.7.1...1.8.0

OAuth on Azure

Some Azure instances now support Databricks native OAuth flow (in addition to AAD OAuth). For a backward
compatibility, library will continue using AAD OAuth flow by default. To use Databricks native OAuth,
pass useDatabricksOAuthInAzure: true to client.connect():

client.connect({
  // other options - host, port, etc.
  authType: 'databricks-oauth',
  useDatabricksOAuthInAzure: true,
  // other OAuth options if needed
});

Also, we fixed issue with AAD OAuth when wrong scopes were passed for M2M flow.

OAuth on GCP

We enabled OAuth support on GCP instances. Since it uses Databricks native OAuth,
all the options are the same as for OAuth on AWS instances.

CloudFetch improvements

Now library will automatically attempt to retry failed CloudFetch requests. Currently, the retry strategy
is quite basic, but it is going to be improved in the future.

Also, we implemented a support for LZ4-compressed results (Arrow- and CloudFetch-based). It is enabled by default,
and compression will be used if server supports it.