Skip to content

Conversation

@HeartSaVioR
Copy link
Contributor

What changes were proposed in this pull request?

This PR proposes to apply tree-pattern based pruning for the rule ResolveWindowTime, to minimize the evaluation of rule with WindowTime node.

Why are the changes needed?

The rule ResolveWindowTime is unnecessarily evaluated multiple times without proper pruning.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests. New test case is added to cover SQL usage for window_time.

@HeartSaVioR
Copy link
Contributor Author

HeartSaVioR commented Dec 27, 2022

cc. @rxin @cloud-fan

@HeartSaVioR
Copy link
Contributor Author

cc. @viirya as well

@HeartSaVioR
Copy link
Contributor Author

The change is only to rebase the fix due to the conflict from #39245. I'm going to merge once the CI passes.

@HeartSaVioR
Copy link
Contributor Author

https://github.com/HeartSaVioR/spark/runs/10328690654
Looks like GA fails to pull the test result. Build succeeded.

@HeartSaVioR
Copy link
Contributor Author

Thanks! 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