Skip to content

Spark 3.4: Fix system function pushdown in CoW row-level commands#10119

Merged
aokolnychyi merged 1 commit intoapache:mainfrom
aokolnychyi:system-pushdown-3.4
Apr 11, 2024
Merged

Spark 3.4: Fix system function pushdown in CoW row-level commands#10119
aokolnychyi merged 1 commit intoapache:mainfrom
aokolnychyi:system-pushdown-3.4

Conversation

@aokolnychyi
Copy link
Contributor

This PR cherry-picks PR #9873 to Spark 3.4.

@aokolnychyi
Copy link
Contributor Author

I forgot 3.4 is a bit different, I may need to make some changes. Let me see.

@aokolnychyi aokolnychyi force-pushed the system-pushdown-3.4 branch from cef4cdd to f18d7f8 Compare April 10, 2024 23:21
@aokolnychyi
Copy link
Contributor Author

I excluded the unnecessary branch in ReplaceStaticInvoke and adapted the tests.

Copy link
Member

@szehon-ho szehon-ho left a comment

Choose a reason for hiding this comment

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

lgtm, ReplaceData is not available in Spark 3.4?

@tmnd1991
Copy link

lgtm, ReplaceData is not available in Spark 3.4?

ReplaceData is there in 3.4 but has 1 less argument (groupFilterCondition: Option[Expression]) but I see it's not used at all in ReplaceStaticInvoke logic, so I would say that we could add that branch too in 3.4 but definitely @aokolnychyi had a good reason to remove it 😄

@aokolnychyi
Copy link
Contributor Author

In 3.4, we use custom ReplaceIcebergData and rewrite the operations differently. I think that logic is only needed in 3.5.

@aokolnychyi aokolnychyi merged commit 290a6a0 into apache:main Apr 11, 2024
@aokolnychyi
Copy link
Contributor Author

Thanks for reviewing, @szehon-ho @tmnd1991 @nastra!

@lurnagao-dahua
Copy link
Contributor

Hi,Is there a plan to port to Spark 3.3?

szehon-ho pushed a commit to szehon-ho/iceberg that referenced this pull request Sep 16, 2024
sasankpagolu pushed a commit to sasankpagolu/iceberg that referenced this pull request Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants