Skip to content

Add explain ITs with Calcite wihtout pushdown #3786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yuancu
Copy link
Contributor

@yuancu yuancu commented Jun 17, 2025

Description

Add Integration tests for explain command with pushdown disabled in Calcite

Related Issues

Resolves #3785

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

private String loadExpectedPlan(String fileName) throws IOException {
String prefix;
if (isCalciteEnabled()) {
if (isPushdownEnabled()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

In the future, just wonder in which case we may disable pushdown? Is this only for testing purpose?

Copy link
Member

@LantaoJin LantaoJin Jun 18, 2025

Choose a reason for hiding this comment

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

For testing purpose, we need to confirm all operations running in Calcite could meet our expects. We wouldn't disable pushdown config. But all operators should work as expected without pushdown. For example, filter operator can be pushdown in normal. But it cannot be pushdown after join operator.

@LantaoJin LantaoJin added testing Related to improving software testing calcite calcite migration releated labels Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calcite calcite migration releated testing Related to improving software testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Integration tests for explain with pushdown disabled in Calcite
3 participants