YannByron edited a comment on pull request #4749:
URL: https://github.com/apache/hudi/pull/4749#issuecomment-1031018797


   @nsivabalan
   For now this config `hoodie.parquet.outputtimestamptype` is only used in 
'bulk_insert' mode, not `upsert`. and it won't affect timestamp based partition 
path.
   This config will decide that Long values representing the timestamp type 
will be persisted in parquet file using the format of `TIMESTAMP_MILLIS ` or 
`TIMESTAMP_MICROS` when `bulk_insert`. Like `2021-10-26 03:44:03`, converting 
it to Long type is `1635234243` in `TIMESTAMP_MILLIS ` format, but 
`1635234243000` in `TIMESTAMP_MICROS` format.
   BTW, `upsert` uses the `TIMESTAMP_MICROS` format. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to