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 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
Original file line number Diff line number Diff line change 1- const { DBSQLClient } = require ( '../' ) ;
1+ const { DBSQLClient, utils } = require ( '../' ) ;
22
33const client = new DBSQLClient ( ) ;
44
5- const utils = DBSQLClient . utils ;
6-
75const host = '****.databricks.com' ;
86const path = '/sql/1.0/endpoints/****' ;
97const token = 'dapi********************************' ;
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import DBSQLSession from './DBSQLSession';
55import NoSaslAuthentication from './connection/auth/NoSaslAuthentication' ;
66import PlainHttpAuthentication from './connection/auth/PlainHttpAuthentication' ;
77import HttpConnection from './connection/connections/HttpConnection' ;
8+ import { formatProgress } from './utils' ;
89
910export const auth = {
1011 NoSaslAuthentication,
@@ -20,4 +21,8 @@ export const thrift = {
2021 TCLIService_types,
2122} ;
2223
24+ export const utils = {
25+ formatProgress,
26+ } ;
27+
2328export { DBSQLClient , DBSQLSession } ;
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments