umehrot2 opened a new pull request #1330: [HUDI-607] Fix to allow 
creation/syncing of Hive tables partitioned by Date type columns
URL: https://github.com/apache/incubator-hudi/pull/1330
 
 
   ## What is the purpose of the pull request
   
   The issue is well described in 
https://issues.apache.org/jira/browse/HUDI-607 . It fixes an issue where Hive 
sync fails to create table, when a Date type column is the partition column for 
the table.
   
   ## Brief change log
   
   *(for example:)*
   - Make changes in DataSourceUtils, to check if the field for which value is 
being returned is of Avro Logical Date Type. If yes, it is returned as the 
actual date string and not epoch day value. This would let Hudi use the actual 
date string as the value, everywhere in its metadata.
   - Unit tests
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   - Added **DataSourceUtilsTest** class
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] 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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to