◐ Shell
clean mode source ↗

fix: Remove extra quoting in snowflake python connection by esadler-hbo · Pull Request #2601 · feast-dev/feast

@esadler-hbo

Signed-off-by: Evan evan.sadler@warnermedia.com

What this PR does / why we need it:
Possible extra quotes. Need to verify by running integration tests.

Which issue(s) this PR fixes:
#2595

Fixes #

Signed-off-by: Evan <evan.sadler@warnermedia.com>

@feast-ci-bot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: esadler-hbo
To complete the pull request process, please assign woop after the PR has been reviewed.
You can assign the PR to them by writing /assign @woop in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@esadler-hbo esadler-hbo changed the title fix: remove extra quoting in snowflake python connection fix: Remove extra quoting in snowflake python connection

Apr 22, 2022

@esadler-hbo

/assign @woop

I noticed an issue for me, but obviously the quotes could be important for somethings. I was hoping to throw up a PR that would run the python integration test suite.

Also let me know if you have ideas on how to test this more officially than editing the repo locally. I'm sure it is possible, but I am new to this repo!

@achals

@codecov-commenter

@achals

@sfc-gh-madkins If I remember correctly you added this quite recently, could you take a look?

@esadler-hbo do you mind adding a test or something that reproduces the issue in #2595 without this patch?

@sfc-gh-madkins

would be great to understand what your feature_store.yaml / config file looks like?

@esadler-hbo

would be great to understand what your feature_store.yaml / config file looks like?

I could totally be doing this wrong, but this is what I had. I did not use quotes for any of the filled in values except the config path. Not filling in because I probably shouldn't share.

# feature_store.yaml
project: firm_finch
registry: registry.db
provider: local
offline_store:
    type: snowflake.offline
    account: 
    user: 
    password: 
    role:
    warehouse:
    database:
    schema:
    config_path: "Users/.../config.ini"

The config file

[connections.feast_offline_store]
private_key_passphrase = phrase
private_key = path_to_key

@esadler-hbo

@sfc-gh-madkins If I remember correctly you added this quite recently, could you take a look?

@esadler-hbo do you mind adding a test or something that reproduces the issue in #2595 without this patch?

Happy to add a test once @sfc-gh-madkins lets me know if my config setup makes sense. I just need to get setup with a test environment and then getting some direction to where and how be much appreciated.

@sfc-gh-madkins

my guess is you are not respecting case sensitivity -- most likely your warehouse is ALL CAPS in Snowflake but you are putting it in lowercase in your config file

Currently feast is using double quoted identifier syntax -- see https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html

i appreciate that this is not documented well in the feast docs

@esadler-hbo

my guess is you are not respecting case sensitivity -- most likely your warehouse is ALL CAPS in Snowflake but you are putting it in lowercase in your config file

Currently feast is using double quoted identifier syntax -- see https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html

i appreciate that this is not documented well in the feast docs

Well I reset my environment and I couldn't reproduce the issue. Sorry to bother you all!

@jials jials mentioned this pull request

Jun 2, 2026

7 tasks