Skip to content

Conversation

@the-other-tim-brown
Copy link
Contributor

Change Logs

Adds the ability to parse the partition path in a source if specified and add the value into the row.
Add unit tests for the class

Impact

Adds new feature to add value that is present in the path

Risk level (write none, low medium or high below)

none

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
    ticket number here and follow the instruction to make
    changes to the website.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@the-other-tim-brown the-other-tim-brown changed the title [HUDI=6168] Add ability to parse partition value into row for S3 and GCS sources [HUDI-6168] Add ability to parse partition value into row for S3 and GCS sources May 4, 2023
Copy link
Member

@codope codope left a comment

Choose a reason for hiding this comment

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

Can land once the CI is green.

@nsivabalan
Copy link
Contributor

@hudi-bot run azure

@hudi-bot
Copy link
Collaborator

hudi-bot commented May 5, 2023

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@nsivabalan
Copy link
Contributor

going ahead w/ landing. the test failure is a known flaky one. #8646

@nsivabalan nsivabalan merged commit 2455770 into apache:master May 5, 2023
Comment on lines +106 to +109
/**
* A comma delimited list of path-based partition fields in the source file structure
*/
public static final String PATH_BASED_PARTITION_FIELDS = "hoodie.deltastreamer.source.cloud.data.partition.fields.from.path";
Copy link
Contributor

Choose a reason for hiding this comment

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

We should add new configs in CloudSourceConfig.

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.

5 participants