Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-976425: Getting no active warehouse in the session when trying to query #708

Closed
akshaysasidrn opened this issue Nov 22, 2023 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@akshaysasidrn
Copy link

  1. What version of NodeJS driver are you using?
    v1.6.23

  2. What operating system and processor architecture are you using?
    node:18.3.0-buster image for x86

  3. What version of NodeJS are you using?
    18.3.0

  4. What are the component versions in the environment (npm list)?
    @types/snowflake-sdk@^1.6.12
    snowflake-sdk@^1.6.23

5.Server version:* E.g. 1.90.1
You may get the server version by running a query:

SELECT CURRENT_VERSION();

CURRENT_VERSION(): "7.41.0"

  1. What did you do?

I'm creating a connection with explicitly mentioned warehouse to snowflake. This connection is then stored in memory.
https://github.com/ToolJet/ToolJet/blob/develop/plugins/packages/snowflake/lib/index.ts#L70
After a certain point of time, the connection gets no active warehouse in the session error.

What we have tried so far:

  • Tried using use warehouse xyz when the connection loses active warehouse. But we get the same not active warehouse error.
  • Tried recreating a new connection to the warehouse. Then tried running a query with the newly created connection to find it also has no active warehouse in connection error.
  1. What did you expect to see?
    Given that warehouse is explicitly mentioned, did not expect to see active warehouse

  2. Can you set logging to DEBUG and collect the logs?
    No I don't have access to do that.

  3. What is your Snowflake account identifier, if any? (Optional)

@akshaysasidrn akshaysasidrn added the bug Something isn't working label Nov 22, 2023
@github-actions github-actions bot changed the title Getting no active warehouse in the session when trying to query SNOW-976425: Getting no active warehouse in the session when trying to query Nov 22, 2023
@sfc-gh-dszmolka
Copy link
Collaborator

seems to be duplicate of #707

@sfc-gh-dszmolka sfc-gh-dszmolka added duplicate This issue or pull request already exists and removed bug Something isn't working labels Nov 22, 2023
@sfc-gh-dszmolka sfc-gh-dszmolka self-assigned this Nov 22, 2023
@sfc-gh-dszmolka sfc-gh-dszmolka closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants