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 2020/08/25 19:39:19 UTC

[GitHub] [hudi] bvaradar commented on issue #2034: [SUPPORT] DateType can't be transformed to right data by kafka avro

bvaradar commented on issue #2034:
URL: https://github.com/apache/hudi/issues/2034#issuecomment-680230551


   Looking at the constructor of java.sql.Date, 
   
   Date(long date) :Constructs a Date object using the given milliseconds time value.
   It expects time resolution in milliseconds. 
   
   But from debezium and Avro specification page, it looks like INT for DATE logical type represents the number of days since epoch. 
   
   Filed a Jira : https://issues.apache.org/jira/browse/HUDI-1225
   
   cc @shenh062326  
   
   @cdmikechen : Can you send a PR to fix it ? 
   


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