enenuki edited a comment on issue #9991:
URL: https://github.com/apache/druid/issues/9991#issuecomment-641113015


   @jihoonson Unfortunately we get the input time as posix double number not 
long. 
   
   And FrankChen021 is right, posix standard does state number as integer... 
   
   Not sure which options do we have without changing input format... All 
transformations take place only after time-parsing so we cannot use __time 
field? If that is right we do not have much options... 
   
   The only option that we currently use is using transformation expression to 
calculate ID by using the original field used to populate __time. This field is 
available in transformation expressions so this enables us to use it to 
generate new filed with milliseconds preserved... 
   
   This ability to use the original field used to populate __time was 
discovered by accident, so this feature should probably be documented 
somewhere... (if it is not already, I did not manage to find 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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to