Skip to content

Conversation

@plypaul
Copy link
Contributor

@plypaul plypaul commented Jan 21, 2026

This PR adds a test for the following optimization case:

  • A query contains 2 metrics that are defined from a common semantic model
  • One of the metrics has fill_nulls_with set.
  • The resulting dataflow plan should contain a single scan of the common semantic model (addressed in a later PR).

This includes some refactoring of the tests - please view by commit.

@cla-bot cla-bot bot added the cla:yes label Jan 21, 2026
@plypaul plypaul changed the title Test optimization of queries with fill_nulls_with set Test optimization of queries containing metrics withfill_nulls_with set Jan 21, 2026
@plypaul plypaul marked this pull request as ready for review January 21, 2026 21:55
@plypaul plypaul requested a review from a team as a code owner January 21, 2026 21:55
Copy link
Contributor

@tlento tlento left a comment

Choose a reason for hiding this comment

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

Oh hey, I can see that the optimizer does nothing!

nit: can you delete the vestigial snapshots? Doesn't matter much but it can be annoying down the road.

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.

3 participants