-
Notifications
You must be signed in to change notification settings - Fork 72
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
Adding namespace support for Snowflake #5486
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
fides Run #11008
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5486/merge
|
Run status |
Passed #11008
|
Run duration | 00m 37s |
Commit |
0f77bdd5a8 ℹ️: Merge 649e6f0f047418813371c37e2b8604517bd5fdda into 52ac3301bef835ab4671d258eb80...
|
Committer | Adrian Galvan |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5486 +/- ##
==========================================
- Coverage 85.20% 85.18% -0.03%
==========================================
Files 386 387 +1
Lines 24247 24265 +18
Branches 2644 2646 +2
==========================================
+ Hits 20660 20669 +9
- Misses 3033 3042 +9
Partials 554 554 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, but wanted to call out 2 areas:
- Docs- are there any current customer-facing docs around options for yaml structure re namespaces? Can we update docs to say that we currently support this for Snowflake and BigQuery?
- I know this is a draft PR, but calling out to remember to write specific QA steps in the description 👍
Can you add a Changelog row as well @galvana? |
fides Run #11009
Run Properties:
|
Project |
fides
|
Branch Review |
main
|
Run status |
Passed #11009
|
Run duration | 00m 38s |
Commit |
77e87be5fe: Adding namespace support for Snowflake (#5486)
|
Committer | Adrian Galvan |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Closes LA-120
Description Of Changes
Updates the
SnowflakeConnector
to use a namespaced query config. This allows queries to specify the correct database name and schema without relying on these values from the connectionconfig.Code Changes
SnowflakeNamespaceMeta
schema (database_name
andschema
)SnowflakeConnector
andSnowflakeQueryConfig
Steps to Confirm
Load datasets
Configure integration
Snowflake
and hit Save.Snowflake
from the drop down. Add the credentials from 1password (it's ok to skip Private key, Passphrase, and Role).snowflake_example_test_dataset
to the integration.Run tests
[email protected]
. Approve the request and verify it is successful. This is the existing functionality.Database
andSchema
, hit Save. Submit another privacy request, it should fail this time.snowflake_example_test_dataset
and linksnowflake_example_test_dataset_with_namespace
, hit Save. Submit another request, the request should use the namespace values and succeed.Pre-Merge Checklist
CHANGELOG.md
updatedmain
downgrade()
migration is correct and works