fhan688 opened a new pull request, #12402:
URL: https://github.com/apache/hudi/pull/12402

   ### Change Logs
   
   Preconditions:
   Flink create table with setting 
'hoodie.datasource.write.partitionpath.field' and specifying 
'hoodie.datasource.write.keygenerator.class' = 
'org.apache.hudi.keygen.ComplexAvroKeyGenerator'
   
   Scenario:
   When using Spark bulk insert, ComplexAvroKeyGenerator will override default 
BuiltinKeyGenerator,  which will cause exception like 'Caused by: 
java.lang.ClassCastException: org.apache.hudi.keygen.ComplexAvroKeyGenerator 
cannot be cast to org.apache.hudi.keygen.BuiltinKeyGenerator'
   
   ### Impact
   
   hudi-spark-client
   
   ### Risk level (write none, low medium or high below)
   
   Low
   
   ### Documentation Update
   
   None
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


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