databricks-sql-nodejs icon indicating copy to clipboard operation
databricks-sql-nodejs copied to clipboard

Databricks SQL Connector for Node.js

Results 42 databricks-sql-nodejs issues
Sort by recently updated
recently updated
newest added

getting an error when I try to get columns of the table. version: @databricks/[email protected] ``` TypeError: Cannot read properties of undefined (reading 'binaryVal') at JsonResult.getColumnValue (/Users/jani/code/lightdash/node_modules/@databricks/sql/dist/result/JsonResult.js:108:23) at JsonResult.getSchemaValues (/Users/jani/code/lightdash/node_modules/@databricks/sql/dist/result/JsonResult.js:40:34) at...

bug
Component: Results Processing

In this step, https://github.com/databricks/databricks-sql-nodejs/blob/c99dfd1762420bd50d7f244d3dcef0accf2e376b/lib/result/JsonResult.ts#L121 https://github.com/databricks/databricks-sql-nodejs/blob/c99dfd1762420bd50d7f244d3dcef0accf2e376b/lib/result/JsonResult.ts#L89 If the data being parsed contains datetimes, it fails and returns `defaultValue`. Example error and data are below: ``` SyntaxError: Unexpected number in JSON at...

Component: Results Processing

Any one idea how can i resolve it. please help to resolved out

bug
Component: Results Processing

- [x] Check existing issues for a duplicate of this bug ## Summary This query returns the expected data, ```sql SELECT carat as a, color as b FROM default.diamonds LIMIT...

bug
Component: Results Processing

Reading through and the documentation doesn't seem to be clear on how to handle long running processes that fetch data at intervals over time. The "hello world" paradigm that we...

question

Hi, Currently the response time that I got from NodeJS is between 3 to 5 seconds slower than the same query ran in the Databricks UI, e.g. in Databricks I...

In the case that the user has extensions to the underlying HttpConnection instead of relying on supporting all use cases and features the consumer can simply provide a new subclass...

[PECO-730] - Derive all errors from common base class (to easily distinguish between errors from the library and other using `instanceof`) - Replace widely used `HiveDriverError` with dedicated error classes...

Previously working code causing a `TypeError: Cannot read properties of undefined (reading '0')`. This code is from the following example: [https://github.com/databricks/databricks-sql-nodejs/blob/HEAD/examples/usage.js](url) ```js const { DBSQLClient } = require('@databricks/sql'); import {...

Npm package `@databricks/sql` depends on `apache-arrow`. `apache-arrow` relies on `command-line-usage`, and a [security vulnerability](https://github.com/advisories/GHSA-28mc-g557-92m7) was discovered in one of the dependencies of `command-line-usage`. A patch has been released to address...