File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 0.1.x (Unreleased)
4
4
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
6
9
- ` DBSQLOperation ` interface simplified: ` HiveUtils ` were removed and replaced with new methods
7
10
` DBSQLOperation.fetchChunk ` /` DBSQLOperation.fetchAll ` . New API implements all necessary waiting
8
11
and data conversion routines internally
Original file line number Diff line number Diff line change 1
- const { DBSQLClient } = require ( '../' ) ;
1
+ const { DBSQLClient, utils } = require ( '../' ) ;
2
2
3
3
const client = new DBSQLClient ( ) ;
4
4
5
- const utils = DBSQLClient . utils ;
6
-
7
5
const host = '****.databricks.com' ;
8
6
const path = '/sql/1.0/endpoints/****' ;
9
7
const token = 'dapi********************************' ;
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import DBSQLSession from './DBSQLSession';
5
5
import NoSaslAuthentication from './connection/auth/NoSaslAuthentication' ;
6
6
import PlainHttpAuthentication from './connection/auth/PlainHttpAuthentication' ;
7
7
import HttpConnection from './connection/connections/HttpConnection' ;
8
+ import { formatProgress } from './utils' ;
8
9
9
10
export const auth = {
10
11
NoSaslAuthentication,
@@ -20,4 +21,8 @@ export const thrift = {
20
21
TCLIService_types,
21
22
} ;
22
23
24
+ export const utils = {
25
+ formatProgress,
26
+ } ;
27
+
23
28
export { DBSQLClient , DBSQLSession } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @databricks/sql" ,
3
- "version" : " 0.1.8-beta.1 " ,
3
+ "version" : " 0.1.8-beta.2 " ,
4
4
"description" : " Driver for connection to Databricks SQL via Thrift API." ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments