-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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(ingest/bigquery): Fix shard regexp to match without underscore as well #8934
fix(ingest/bigquery): Fix shard regexp to match without underscore as well #8934
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
assuming all the regexes are correct, this looks good to me
# Cases with Just the table name as input | ||
("table", "table", None), | ||
("table20231215", "table20231215", None), | ||
("table20231215", "table", "20231215"), |
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.
wow all these tests for a single regex
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.
Haha, yes, it is super crazy but very well-detailed
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.
assuming all the regexes are correct, this looks good to me
@treff7es there's a test error
|
thanks, the test was not correct (earlier it was an invalid data and we properly check it) |
Checklist