deepakpanda93 commented on issue #14600: URL: https://github.com/apache/hudi/issues/14600#issuecomment-5115789382
This issue was reviewed as part of the JIRA-migrated backlog triage. **Findings:** the ability requested here exists as a pluggable extension point. `hoodie.bootstrap.partitionpath.translator.class` (`HoodieBootstrapConfig.java:84-85`) selects a `BootstrapPartitionPathTranslator`, and the interface plus `IdentityBootstrapPartitionPathTranslator` / `DecodedBootstrapPartitionPathTranslator` live under `hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/bootstrap/translator/` (verified at `release-1.2.0`; present since at least the HUDI-1089 refactor in 0.7.0). So a 1-1 source -> bootstrapped partition-path rewrite is supported by supplying a translator class. Only the identity and URL-decoding translators ship built-in, so the Hive-style example in the description (`/2020/06/05/` -> `ds=2020%2F06%2F05`) would need a short custom implementation of that interface rather than new framework support. Given that and the earlier note on this ticket that there is no concrete requirement driving it, closing. Please reopen if a built-in Hive-style translator is specifically wanted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
