Skip to content

Commit

Permalink
Prepare to release 0.1.8-beta.2 (#60)
Browse files Browse the repository at this point in the history
Signed-off-by: Levko Kravets <[email protected]>
  • Loading branch information
kravets-levko authored Sep 7, 2022
1 parent 2961a44 commit 328e04b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

## 0.1.x (Unreleased)

- Added support for DirectResults, which speeds up data fetches by reducing the number of server roundtrips when possible.
## 0.1.8-beta.2 (2022-09-08)

- 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
- `DBSQLOperation` interface simplified: `HiveUtils` were removed and replaced with new methods
`DBSQLOperation.fetchChunk`/`DBSQLOperation.fetchAll`. New API implements all necessary waiting
and data conversion routines internally
Expand Down
4 changes: 1 addition & 3 deletions examples/data_types.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const { DBSQLClient } = require('../');
const { DBSQLClient, utils } = require('../');

const client = new DBSQLClient();

const utils = DBSQLClient.utils;

const host = '****.databricks.com';
const path = '/sql/1.0/endpoints/****';
const token = 'dapi********************************';
Expand Down
5 changes: 5 additions & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import DBSQLSession from './DBSQLSession';
import NoSaslAuthentication from './connection/auth/NoSaslAuthentication';
import PlainHttpAuthentication from './connection/auth/PlainHttpAuthentication';
import HttpConnection from './connection/connections/HttpConnection';
import { formatProgress } from './utils';

export const auth = {
NoSaslAuthentication,
Expand All @@ -20,4 +21,8 @@ export const thrift = {
TCLIService_types,
};

export const utils = {
formatProgress,
};

export { DBSQLClient, DBSQLSession };
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@databricks/sql",
"version": "0.1.8-beta.1",
"version": "0.1.8-beta.2",
"description": "Driver for connection to Databricks SQL via Thrift API.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 328e04b

Please sign in to comment.