Zouxxyy commented on issue #6931:
URL: https://github.com/apache/hudi/issues/6931#issuecomment-1278917445

   > @JoshuaZhuCN I have try to set `hoodie.sql.insert.mode=non-strict`, but no 
effect eg: create table if not exists hudi.h3( id bigint, name string, price 
double ) using hudi options ( primaryKey = 'id', type = 'mor', 
hoodie.cleaner.fileversions.retained = '1', hoodie.datasource.write.operation = 
'insert', hoodie.sql.insert.mode = 'non-strict');
   
   hi, have you used `hoodie.merge.allow.duplicate.on.inserts=true` for 
testing? I added a test case to verify it 
https://github.com/apache/hudi/pull/6949. Also, it is recommended to use 
`hoodie.sql.insert.mode` to configure insert mode when you are using spark-sql
   


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