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

Refactor iceberg to delta partition value conversion #2715

Closed
wants to merge 2 commits into from

Conversation

lzlfred
Copy link
Contributor

@lzlfred lzlfred commented Mar 4, 2024

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

refactor iceberg to delta partition value conversion to make code more modular. No function change.

How was this patch tested?

existing unit test.


def convertIcebergPartitionToPartitionValues(partition: StructLike):
Option[Map[String, String]] = {
if (spark.sessionState.conf
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we move the conf check out of this help function

@lzlfred lzlfred requested a review from mingdai-db March 5, 2024 00:18
Copy link
Contributor

@mingdai-db mingdai-db left a comment

Choose a reason for hiding this comment

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

LGTM

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