-
Notifications
You must be signed in to change notification settings - Fork 116
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
fix: 1261 pg custom query without creating view #1353
fix: 1261 pg custom query without creating view #1353
Conversation
/gcbrun |
…github.com/GoogleCloudPlatform/professional-services-data-validator into 1261-pg-custom-query-without-creating-view
/gcbrun |
/gcbrun |
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.
I wonder if we should replace the test_custom_query_validation_core_types
test with one on dvt_pg_types
to test with more data types?
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.
Definitely a complex challenge to solve, well done Sundar!
Co-authored-by: Helen Cristina <[email protected]>
The big difference is only in the time data types. Ibis support many more of the Postgres types - MAC Address, Polygon etc - we have not defined how to validate those. We may need to figure that out and include those types would be my suggestion. Sundar Mudupalli |
/gcbrun |
Agreed, I wasn't suggesting we look into any new data types. It just crossed my mind that we could switch the test from one existing table to another already existing table. Anyway - let's leave it alone for now. |
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.
LGTM
/gcbrun |
Hi,
The Postgres Custom Query validation used to create a temporary view. This fixes #1261, by finding the types from the custom query itself. Change only to one file that is specific for Postgres.
Sundar Mudupalli