-
Notifications
You must be signed in to change notification settings - Fork 97
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
Tests for metric filters with inner-query joins #1208
Conversation
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.
The merge conflicts are going to cause other lint errors. Sorry about the delays on that, totally missed this PR.
Please make sure all engine tests are passing before merge! If you add the persist and run tests labels at the same time I think the second one clobbers the first and then everything will fail, so it might be a little annoying.
query_spec = multihop_query_parser.parse_and_validate_query( | ||
metric_names=("third_hop_count",), | ||
where_constraint=PydanticWhereFilter( | ||
where_sql_template="{{ Metric('txn_count', ['account_id__customer_id__customer_third_hop_id']) }} > 2", | ||
), |
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.
🤯
Description
Add tests for metric filters where the metric subquery has one or two joins.