Skip to content

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
@viirya viirya requested a review from andygrove November 25, 2024 12:12
@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.

@andygrove andygrove merged commit 29b2b77 into apache:comet-parquet-exec Dec 2, 2024
23 of 74 checks passed
@viirya viirya deleted the fix_partition_index branch December 3, 2024 06:16
@viirya
Copy link
Member Author

viirya commented Dec 3, 2024

Thanks @parthchandra @andygrove

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.

3 participants