← 输入框|github.com|刷新
Skip to content

Snowflake has connection issues #2595

Closed

Description

@esadler-hbo

Expected Behavior

I try to connect to snowflake using a private key

Current Behavior

I get an error from the snowflake python connection object saying that I need to set the warehouse.

Steps to reproduce

I ran the demo

Specifications

  • Version:
  • Platform:
  • Subsystem:

Possible Solution

I removed this double quoting and it worked

# line 61 in snowflake_utils.py
    for k, v in kwargs.items():
        if k in ["role", "warehouse", "database", "schema_"]:
            kwargs[k] = f'"{v}"'

Happy to replicate through the testing setup and make a PR

Activity

  1. sfc-gh-madkins commented on Apr 22, 2022

    @sfc-gh-madkins
    Collaborator

    @esadler-hbo are you setting creds in a config file?

  2. esadler-hbo commented on Apr 22, 2022

    @esadler-hbo
    Author

    @sfc-gh-madkins yeah I am. I posted more details in #2601.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions