You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/10/01 19:43:03 UTC
[GitHub] [incubator-hudi] n3nash commented on issue #933: Support for
multiple level partitioning in Hudi
n3nash commented on issue #933: Support for multiple level partitioning in Hudi
URL: https://github.com/apache/incubator-hudi/issues/933#issuecomment-537197168
@HariprasadAllaka1612 Are you using spark data source ? You can provide a custom partition value extractor https://github.com/apache/incubator-hudi/blob/master/hudi-spark/src/main/scala/org/apache/hudi/DataSourceOptions.scala#L193 and set https://github.com/apache/incubator-hudi/blob/master/hudi-spark/src/main/scala/org/apache/hudi/DataSourceOptions.scala#L204 to the fields you require.
You can set the partition value extractor to this : https://github.com/apache/incubator-hudi/blob/master/hudi-hive/src/main/java/org/apache/hudi/hive/MultiPartKeysValueExtractor.java
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services