Skip to content
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

Add improved test for the SQL optimization level in the request #1566

Merged
merged 5 commits into from
Dec 12, 2024

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented Dec 11, 2024

This PR adds an improved test to show that the SQL optimization level in the request is handled correctly in the MF engine API. The previous test made a more general check, but a snapshot helps to check for specific features. Considering adding an assertion for the snapshot as well.

@cla-bot cla-bot bot added the cla:yes label Dec 11, 2024
@plypaul plypaul changed the title Add MF engine test for the SQL optimization level in the request Add improved test for the SQL optimization level in the request Dec 11, 2024
@plypaul plypaul marked this pull request as ready for review December 11, 2024 21:32
@@ -13,6 +14,7 @@
from metricflow.sql.optimizer.table_alias_simplifier import SqlTableAliasSimplifier


@functools.total_ordering
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, didn't know about this

Base automatically changed from p--misc--01 to main December 12, 2024 18:18
@plypaul plypaul merged commit 66377f5 into main Dec 12, 2024
11 checks passed
@plypaul plypaul deleted the p--misc--02 branch December 12, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants