databricks / databricks-sql-nodejs

Databricks SQL Connector for Node.js
Apache License 2.0
24 stars 34 forks source link

Expose session and query ID #250

Closed kravets-levko closed 7 months ago

kravets-levko commented 7 months ago

Expose an id property on IDBSQLSession and IOperation.

Previosly we did have a getId() method on DBSQLSession and DBSQLOperation. Of course, users were able to use them from JS code, or by casting objects to any in TS, but they still were internal to the library. Now we expose a legal way to access session and operation ID as a part of the public library interface