Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

This is a followup of #39624 . QueryStageExec.isMeterialized should only return true if resultOption is assigned. It can be a potential bug to have this inconsistency.

Why are the changes needed?

fix potential bug

Does this PR introduce any user-facing change?

no

How was this patch tested?

existing tests

@github-actions github-actions bot added the SQL label Mar 22, 2023
Copy link
Contributor Author

Choose a reason for hiding this comment

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

a small cleanup. We don't need to run any rules for InMemoryTableScanExec as it's a leaf node and supports both columnar and row-based output.

@cloud-fan
Copy link
Contributor Author

cc @ulysses-you

@ulysses-you
Copy link
Contributor

lgtm

@cloud-fan
Copy link
Contributor Author

thanks for review, merging to master!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants