You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/09/14 10:06:21 UTC

[GitHub] [iceberg] mazhiyu123 edited a comment on issue #3114: after set 'write.upsert.enable'='true' in flink sql, using flink sql read iceberg table will get exception: java.lang.IllegalArgumentException: Row arity: 3, but serializer arity: 2

mazhiyu123 edited a comment on issue #3114:
URL: https://github.com/apache/iceberg/issues/3114#issuecomment-919006807


   > Hi @mazhiyu123 , I think you will need to apply this PR to your own branch: #2731
   
   thank you for replying soon!!!
   
   I already try this [#2731](https://github.com/apache/iceberg/pull/2731) , but i will get a new situation:
   when i insert data  with same primary key on one sql, iceberg table will has duplicate data. such as:
    insert sql:
   INSERT INTO  hadoop_catalog.iceberg_db.sample_test  VALUES (14, 'test14'), (14, 'test14_update');
   
   select sql:
   select * from hadoop_catalog.iceberg_db.sample_test;
   
   expect : 
                           id                      data
                           14             test14_update
   
   but it return:
                           id                      data
                           14             test14_update
                           14                    test14
    


-- 
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: issues-unsubscribe@iceberg.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org