Releases: databricks/databricks-sql-nodejs
Releases · databricks/databricks-sql-nodejs
1.0.0
What's Changed
- [PECO-237] Direct results support for all operations by @kravets-levko in #63
- [PECO-217] DBSQLClient.openSession refactoring by @kravets-levko in #64
- Fixed bug with spread operator crashing memory if chunk is too big by @nithinkdb in #66
- [PECO-217] Expose runAsync option for operations that support it by @kravets-levko in #65
- Enforce minimum TLS version by @kravets-levko in #69
- Remove deprecated option
confOverlayby @kravets-levko in #68 - Make IOperation.getSchema wait for operation to complete by @kravets-levko in #67
- Add TSDoc comments for all public APIs. by @nithinkdb in #71
- Add client side logging by @nithinkdb in #72
- Fix e2e tests by @kravets-levko in #79
- [PECO-348] Enable direct results by default by @kravets-levko in #70
- Removed old APIs by @nithinkdb in #81
- Updated version by @nithinkdb in #80
- Fix mistake in test by @kravets-levko in #82
- Fixed bug in Logger, cleaned up types by @nithinkdb in #83
Full Changelog: 0.1.8-beta.2...1.0.0
Upgrading
All statements now execute with direct results by default. To turn off direct results, set the maxRows option to null in ExecuteStatementOptions.
The Node.js Connector is officially released!
0.1.8-beta.2
- Operations will wait for cluster to start instead of failing
- Added support for DirectResults, which speeds up data fetches by reducing the number of server roundtrips when possible
DBSQLOperationinterface simplified:HiveUtilswere removed and replaced with new methods
DBSQLOperation.fetchChunk/DBSQLOperation.fetchAll. New API implements all necessary waiting
and data conversion routines internally- Better TypeScript support
- Thrift definitions updated to support additional Databricks features
- User-agent string updated; a part of user-agent string is configurable through
DBSQLClient'sclientIdoption - Connection now uses keep-alive (not configurable at this moment)
DBSQLClientnow prepends slash to path when neededDBSQLOperation: default chunk size for data fetching increased from 100 to 100.000
Upgrading
DBSQLClient.utils was permanently removed. Code which used utils.waitUntilReady, utils.fetchAll
and utils.getResult to get data should now be replaced with the single DBSQLOperation.fetchAll method.
Progress reporting, previously supported by utils.waitUntilReady, is now configurable via
DBSQLOperation.fetchChunk/DBSQLOperation.fetchAll options. DBSQLOperation.setMaxRows also became
an option of methods mentioned above.