zhengshubin opened a new issue, #1048:
URL: https://github.com/apache/incubator-paimon/issues/1048

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Paimon version
   
   0.4-SNAPSHOT
   
   ### Compute Engine
   
   spark3.3
   
   ### Minimal reproduce step
   
   create table paimon.default.t1 (
          pkey BIGINT ,
          dt string)
   TBLPROPERTIES(
          'primary-key' = 'pkey',
          'bucket' = '4',
       'bucket-key' = 'pkey'
   
   )
   insert into  paimon.default.t1  select  pkey , 
date_format(last_tx_dt,'yyyy-MM-dd') dt from t
   
   error:
   write incompatible data to table 't1':
   - Cannot write nullable values to non-null column 'pkey'
   
   
   ### What doesn't meet your expectations?
   
   It can not  insert success even though  pk is not null.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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