Skip to content

Commit e169f69

Browse files
Enable canUseMultipleCatalogs option when creating session (#203)
* Enable canUseMultipleCatalogs option when creating session Signed-off-by: Levko Kravets <[email protected]> * Prepare release 1.6.1 Signed-off-by: Levko Kravets <[email protected]> * Fix `npm audit` warnings Signed-off-by: Levko Kravets <[email protected]> --------- Signed-off-by: Levko Kravets <[email protected]>
1 parent f2955bc commit e169f69

File tree

4 files changed

+276
-137
lines changed

4 files changed

+276
-137
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## 1.6.1
4+
5+
- Make default logger singleton (databricks/databricks-sql-nodejs#199)
6+
- Enable `canUseMultipleCatalogs` option when creating session (databricks/databricks-sql-nodejs#203)
7+
38
## 1.6.0
49

510
### Highlights

Diff for: lib/DBSQLClient.ts

+1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ export default class DBSQLClient extends EventEmitter implements IDBSQLClient, I
176176
const response = await this.driver.openSession({
177177
client_protocol_i64: new Int64(TProtocolVersion.SPARK_CLI_SERVICE_PROTOCOL_V8),
178178
...getInitialNamespaceOptions(request.initialCatalog, request.initialSchema),
179+
canUseMultipleCatalogs: true,
179180
});
180181

181182
Status.assert(response.status);

0 commit comments

Comments
 (0)