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
bigquery regex unsupported dialect #3131
Labels
Comments
jdimatteo
changed the title
[BUG] bigquery regex expectations raise exception
bigquery regex expectations raise exception
Jul 28, 2021
jdimatteo
changed the title
bigquery regex expectations raise exception
bigquery regex unsupported dialect
Jul 28, 2021
This might be related to #2978 |
Possibly a duplicate of #2959 as well |
Before closing this issue, please ensure bigquery test coverage passing with:
E.g. see how these tests are commented out at
|
talagluck
added
community
triage
Used by the GE core team to flag issues that were not yet triaged
core-engineering-queue
and removed
triage
Used by the GE core team to flag issues that were not yet triaged
labels
Aug 3, 2021
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running regex expectations with bigquery, exceptions like the following occur:
To Reproduce
Use a regex expectation such as
expect_column_values_to_match_regex
with bigquery based on the example at https://knoxpod.netlify.app/docs/guides/connecting_to_your_data/database/bigquery.More specifically, to get the above stack trace you can:
git clone --branch jdimatteo/reproduce_expect_column_values_to_not_match_regex git@github.com:jdimatteo/ge_tutorials.git && cd ge_tutorials/expect_column_values_to_not_match_regex/
python3.9 -m venv venv && source venv/bin/activate && pip install -r requirements.txt
austin_bikeshare
tablebikeshare_stations
to a google cloud project you can run queries against, e.g.bq mk <GCP_PROJECT_NAME>:austin_bikeshare && bq cp bigquery-public-data:austin_bikeshare.bikeshare_stations <GCP_PROJECT_NAME>:austin_bikeshare.bikeshare_stations
gcp_project
in the bigquery_python_example.py to be your<GCP_PROJECT_NAME>
python bigquery_python_example.py
Expected behavior
No exception raised.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: