You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/08/10 08:38:49 UTC

[GitHub] [hudi] fengjian428 commented on issue #6354: [SUPPORT] Sparksql cow non-partition table execute 'merge into ' sqlstatment occure error after setting the tblproperties param "hoodie.datasource.write.payload.class = 'org.apache.hudi.common.model.DefaultHoodieRecordPayload'"

fengjian428 commented on issue #6354:
URL: https://github.com/apache/hudi/issues/6354#issuecomment-1210349402

   @fujianhua168  try 
   `merge into hudi_cow_pk_cbfield_tbl as target
   using (select 1 as id,'a1_merge' as name, cast(2000 as BIGINT) as ts) as source
   on target.id = source.id
   when matched then update set *
   when not matched then insert *
   ;` ?
   I guess this is a bug due to Merge into does not cast the source column's type to target


-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org