danny0405 commented on issue #5812: URL: https://github.com/apache/hudi/issues/5812#issuecomment-1150772633
This is a known problem, because Spark uses the `ComplexAvroKeyGenerator` by default even if the primary key only has one field, while flink would use `SimpleAvroKeyGenerator` instead when primary key fields is simple, a temporal solution is to set up the key generator for spark as `SimpleAvroKeyGenerator` instead manually, i would fire a fix for spark soon ~ -- 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]
