great_expectations icon indicating copy to clipboard operation
great_expectations copied to clipboard

[BUGFIX] Set application query param for SnowflakeDatasource

Open roblim opened this issue 2 months ago • 0 comments

  • Set application query param for SnowflakeDatasource when creating engine. This is to ensure GX gets attribution for the Snowflake Partner program

  • This was attempted previously by setting the SF_PARTNER env var, which would typically be picked up by the Snowflake connecter to set the application query param. However, since GX uses snowflake-sqlalchemy to connect to Snowflake, the env var gets superseded, with attribution going to snowflake-sqlalchemy.

  • [x] PR title is prefixed with one of: [BUGFIX], [FEATURE], [DOCS], [MAINTENANCE], [CONTRIB]

  • [x] Code is linted - run invoke lint (uses ruff format + ruff check)

  • [x] Appropriate tests and docs have been updated

For more information about contributing, see Contribute.

After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!

roblim avatar May 01 '24 20:05 roblim