-
Notifications
You must be signed in to change notification settings - Fork 74
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
HJ-116 - Fix BigQuery partitioning
queries to properly support multiple identity clauses
#5432
Conversation
…t properly generated
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
fides Run #10721
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5432/merge
|
Run status |
Passed #10721
|
Run duration | 00m 37s |
Commit |
8a1be3eeab ℹ️: Merge 59f86bed0706f1885c8f70ed7dd0adf19191d45a into 008cf6818d94915fbdf3a41138ff...
|
Committer | Andres Torres |
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 #5432 +/- ##
=======================================
Coverage 85.47% 85.47%
=======================================
Files 384 384
Lines 24118 24118
Branches 2624 2624
=======================================
Hits 20614 20614
Misses 2950 2950
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.
@andres-torres-marroquin I don't see any tests here that also exercise the partitioning
clauses. I'd like to be extra confident that we've tested how those get merged into the rest
@NevilleS Actually this test uses the |
Yes, I'd like to ensure there is an explicit test that shows the query we generate when there is a |
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.
This looks good. The test feels awkward but that's non-blocking- maybe you can simplify that assertion...?
partitioning
queries to properly support multiple identity clauses
…iple identity clauses (#5432) Co-authored-by: Neville Samuell <neville@ethyca.com>
fides Run #10722
Run Properties:
|
Project |
fides
|
Branch Review |
main
|
Run status |
Passed #10722
|
Run duration | 00m 36s |
Commit |
b0f976a11b: HJ-116 - Fix BigQuery `partitioning` queries to properly support multiple identi...
|
Committer | Andres Torres |
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 ↗︎ |
Fix BigQuery partitioning support bug - WHERE queries are not properly generated
Closes #HJ-116
Description Of Changes
Update BigQuery to use parenthesis on the WHERE clause for SELECT queries.
Code Changes
BigQueryQueryConfig.get_formatted_query_string
to surround the WHERE clause contents in parenthesis always.Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md
main
downgrade()
migration is correct and works