fix: Register CLP plan optimizer (fixes #35).#33
fix: Register CLP plan optimizer (fixes #35).#33anlowee merged 1 commit intoy-scope:release-0.293-clp-connectorfrom
Conversation
WalkthroughThe ClpConnector class was updated to include new dependencies for function metadata, function resolution, and metadata filtering, and now provides a plan optimizer provider. The ClpConnectorFactory class had the RowExpressionService import and binding removed, with no changes to public interfaces or logic. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant ClpConnector
participant ClpPlanOptimizerProvider
Client->>ClpConnector: getConnectorPlanOptimizerProvider()
ClpConnector->>ClpPlanOptimizerProvider: new ClpPlanOptimizerProvider(functionManager, functionResolution, metadataFilterProvider)
ClpConnector-->>Client: ClpPlanOptimizerProvider instance
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learningspresto-clp/src/main/java/com/facebook/presto/plugin/clp/ClpConnector.java (1)🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
700e72e
into
y-scope:release-0.293-clp-connector
Description
When doing the end-to-end testing, the pushdown was not generated, which turned out that the ClpPlanOptimizer was not added to connector's optimizers.
#16 adds the CLP plan optimizer, but didn't register it. This PR fixes the issue.
Checklist
breaking change.
Validation performed
Doing the end-to-end test again, and the pushdown can be generated.
Summary by CodeRabbit
New Features
Chores