Priyanka128 commented on issue #10823:
URL: https://github.com/apache/hudi/issues/10823#issuecomment-2111792611

   > I think your timestamp.type should be "DATE_STRING".
   
   Tried this but getting below exception:
   _Caused by: java.lang.RuntimeException: 
hoodie.keygen.timebased.timestamp.scalar.time.unit is not specified but scalar 
it supplied as time value
     at 
org.apache.hudi.keygen.TimestampBasedAvroKeyGenerator.convertLongTimeToMillis(TimestampBasedAvroKeyGenerator.java:216)
     at 
org.apache.hudi.keygen.TimestampBasedAvroKeyGenerator.getPartitionPath(TimestampBasedAvroKeyGenerator.java:187)
     at 
org.apache.hudi.keygen.TimestampBasedAvroKeyGenerator.getPartitionPath(TimestampBasedAvroKeyGenerator.java:118)
     ... 18 more_
   
   After encountering this exception, removed 
"hoodie.deltastreamer.keygen.timebased.timestamp.scalar.time.unit" -> "DAYS" 
but still same exception "Caused by: java.lang.RuntimeException: 
hoodie.keygen.timebased.timestamp.scalar.time.unit is not specified but scalar 
it supplied as time value" was coming.


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to