Skip to content

Query returns empty result set #232

@iaxentoi

Description

@iaxentoi

Trying to run the example code from https://docs.databricks.com/en/dev-tools/nodejs-sql-driver.html#language-JavaScript
I am using the personal token method but every query returns an empty array.
I also enabled debug level logging and seems to be no error ar anything strange:

{"level":"info","message":"Created DBSQLClient"} {"level":"info","message":"DBSQLClient: initializing thrift client"} {"level":"debug","message":"Session created with id: 9ece70bf-xxxxxx"} Running query {"level":"debug","message":"Operation created with id: b2cfd491-xxxxx"} {"level":"debug","message":"Fetched chunk of size: 100000 from operation with id: b2cfd491-xxxxx"} {"level":"debug","message":"Fetched all data from operation with id: b2cfd491-xxxxx"} {"level":"debug","message":"Closing operation with id: b2cfd491-xxxxx"} [] //this is the result {"level":"debug","message":"Session closed with id: 9ece70bf-xxxxx"}` 

Running on MacOS using node v18.18.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions