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/11/20 22:48:19 UTC

[GitHub] [incubator-hudi] zhedoubushishi opened a new pull request #1036: [HUDI-353] Add hive style partitioning path

zhedoubushishi opened a new pull request #1036: [HUDI-353] Add hive style partitioning path
URL: https://github.com/apache/incubator-hudi/pull/1036
 
 
   ##  What is the purpose of the pull request
   
   Add support for hive style partitioning
   Jira: https://jira.apache.org/jira/browse/HUDI-353
   
   ## Brief change log
     - *Add a new option in Spark datasource named HIVE_STYLE_PARTITIONING_FILED_OPT_KEY which indicates whether using hive style partitioning or not. By default this option is false (not use)*
     - *Modify key generators to support this option when generating partition path*
     - *Also, if using hive style partitioning, instead of scanning the dataset and manually adding/updating all partitions, we can use "MSCK REPAIR TABLE <table_name>" to automatically sync all the partition info with Hive MetaStore*
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
     - *Added additional test cases in TestDataSourceDefaults to verify the change.*
     - *Manually verified the change by running a job locally.*
   
   ## Committer checklist
   
    - [x] Has a corresponding JIRA in PR title & commit
    
    - [x] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

----------------------------------------------------------------
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