Skip to content
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

fix: [comet-parquet-exec] Use RDD partition index #1120

Open
wants to merge 2 commits into
base: comet-parquet-exec
Choose a base branch
from

Conversation

viirya
Copy link
Member

@viirya viirya commented Nov 25, 2024

Which issue does this PR close?

Closes #.

This cherry-picks the fix #1112 to comet-parquet-exec feature branch to fix failed test limit (cartesian product) in CometExecSuite.

Rationale for this change

What changes are included in this PR?

How are these changes tested?

* fix: Use RDD partition index

* fix

* fix

* fix
@andygrove andygrove changed the title fix: Use RDD partition index fix: [comet-parquet-exec] Use RDD partition index Nov 25, 2024
Comment on lines +1039 to +1045
// If reaching leaf node, reset `firstNativeOp` to true
// because it will start a new block in next iteration.
if (op.children.isEmpty) {
firstNativeOp = true
}

newPlan
Copy link
Member Author

Choose a reason for hiding this comment

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

Here this is the main diff that we don't have in main branch. Because native scan now is a real "native" operator, once we encounter it when transforming down, we need to reset firstNativeOp flag.

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