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

   What looks like happens is this:
   
https://github.com/apache/hudi/blob/master/hudi-utilities/src/main/java/org/apache/hudi/utilities/streamer/StreamSync.java#L766
   
   Then infers that the target schema is a source schema rather than a target, 
which in turn calls this: 
   
https://github.com/apache/hudi/blob/master/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieSchemaUtils.scala#L110
   
   Which, just looking at the variable naming shows the issue.  This function 
call is taking the target schema and demoting it to the source schema, then 
promoting all data types to micros regardless of the write parameters the user 
sets.


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