Skip to content

Commit 328e04b

Browse files
Prepare to release 0.1.8-beta.2 (#60)
Signed-off-by: Levko Kravets <levko.ne@gmail.com>
1 parent 2961a44 commit 328e04b

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
## 0.1.x (Unreleased)
44

5-
- Added support for DirectResults, which speeds up data fetches by reducing the number of server roundtrips when possible.
5+
## 0.1.8-beta.2 (2022-09-08)
6+
7+
- Operations will wait for cluster to start instead of failing
8+
- Added support for DirectResults, which speeds up data fetches by reducing the number of server roundtrips when possible
69
- `DBSQLOperation` interface simplified: `HiveUtils` were removed and replaced with new methods
710
`DBSQLOperation.fetchChunk`/`DBSQLOperation.fetchAll`. New API implements all necessary waiting
811
and data conversion routines internally

examples/data_types.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
const { DBSQLClient } = require('../');
1+
const { DBSQLClient, utils } = require('../');
22

33
const client = new DBSQLClient();
44

5-
const utils = DBSQLClient.utils;
6-
75
const host = '****.databricks.com';
86
const path = '/sql/1.0/endpoints/****';
97
const token = 'dapi********************************';

lib/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import DBSQLSession from './DBSQLSession';
55
import NoSaslAuthentication from './connection/auth/NoSaslAuthentication';
66
import PlainHttpAuthentication from './connection/auth/PlainHttpAuthentication';
77
import HttpConnection from './connection/connections/HttpConnection';
8+
import { formatProgress } from './utils';
89

910
export const auth = {
1011
NoSaslAuthentication,
@@ -20,4 +21,8 @@ export const thrift = {
2021
TCLIService_types,
2122
};
2223

24+
export const utils = {
25+
formatProgress,
26+
};
27+
2328
export { DBSQLClient, DBSQLSession };

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@databricks/sql",
3-
"version": "0.1.8-beta.1",
3+
"version": "0.1.8-beta.2",
44
"description": "Driver for connection to Databricks SQL via Thrift API.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)