Skip to content

Commit

Permalink
Enable canUseMultipleCatalogs option when creating session (#203)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
kravets-levko authored Nov 14, 2023
1 parent f2955bc commit e169f69
Show file tree
Hide file tree
Showing 4 changed files with 276 additions and 137 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release History

## 1.6.1

- Make default logger singleton (databricks/databricks-sql-nodejs#199)
- Enable `canUseMultipleCatalogs` option when creating session (databricks/databricks-sql-nodejs#203)

## 1.6.0

### Highlights
Expand Down
1 change: 1 addition & 0 deletions lib/DBSQLClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export default class DBSQLClient extends EventEmitter implements IDBSQLClient, I
const response = await this.driver.openSession({
client_protocol_i64: new Int64(TProtocolVersion.SPARK_CLI_SERVICE_PROTOCOL_V8),
...getInitialNamespaceOptions(request.initialCatalog, request.initialSchema),
canUseMultipleCatalogs: true,
});

Status.assert(response.status);
Expand Down
Loading

0 comments on commit e169f69

Please sign in to comment.