rkwagner commented on issue #13233:
URL: https://github.com/apache/hudi/issues/13233#issuecomment-2839738516

   As far as "how did this happen", it looks like the part of the `StreamSync` 
code which used to only come into play on Hudi 14 in the case where a user 
provided target schema wasn't present, but now that function appears to be 
called in all cases.  This function, `getDeducedSchemaProvider`, in turn calls 
`UtilHelpers.getLatestTableSchema` which will get nothing on the first write of 
the table since it doesn't exist yet.  Finally, this will result in the Hudi 
code overwriting whatever target schema we want (for timestamps specifically) 
to always write as micros. 


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