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

Sync back the change of #603 and #604 to branch-1.2 to make 1.2 work with Spark 4.0 #605

Conversation

HeartSaVioR
Copy link
Contributor

#603

DeltaSharingLimitPushDown uses the pattern with LogicalRelation which could change, in terms of parameter in constructor. Spark community made a change in upcoming Spark 4.0 (apache/spark#48676) to add a new parameter in LogicalRelation, and the change will break the pattern.

Since the pattern only picks up the relation from LogicalRelation, the pattern object Spark community introduced along with the above change (apache/spark#48605) would be helpful to not encounter the issue in upcoming Spark 4.0 when Delta Sharing supports the version.

#604

This PR introduces a shim to address the new parameter in LogicalRelation in Spark 4.0.

Since Delta Sharing does not perform cross compilation for Spark version and Spark 4.0 is expected to be released in early next year, this PR would help to defer the effort of cross compilation with multiple artifacts till really needed.

@linzhou-db linzhou-db self-requested a review November 11, 2024 21:56
@linzhou-db linzhou-db merged commit 93f5faf into delta-io:branch-1.2 Nov 12, 2024
5 checks passed
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.

2 participants