Skip to content

Conversation

@zhuqi-lucas
Copy link
Collaborator

@zhuqi-lucas zhuqi-lucas commented Jan 29, 2026

@zhuqi-lucas zhuqi-lucas marked this pull request as ready for review January 29, 2026 03:58
Copilot AI review requested due to automatic review settings January 29, 2026 03:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR optimizes the rewrite performance for materialized view matching by reducing redundant tree traversals and adding fast paths for common cases. The changes upstream two PRs from the datafusion-materialized-views repository focused on performance improvements.

Changes:

  • Consolidates multiple tree traversals into single-pass collection of schema, columns, filters, and referenced tables
  • Adds fast-path optimizations for simple Column expressions to avoid expensive tree transformations
  • Caches frequently-accessed data structures to reduce allocation overhead

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zhuqi-lucas zhuqi-lucas requested a review from xudong963 January 29, 2026 04:38
@zhuqi-lucas zhuqi-lucas merged commit f60dd33 into branch-51 Feb 4, 2026
@zhuqi-lucas zhuqi-lucas deleted the test_optimize_view_matcher branch February 4, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant