XiaoHongbo-Hope opened a new pull request, #7406:
URL: https://github.com/apache/paimon/pull/7406

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... 
-->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   Almost all pk test failed when running in real rest server with 
   ```
   ValueError: Input schema isn't consistent with table schema and write cols.
   Input schema is: user_id: int64, item_id: int64, behavior: string, dt: string
   Table schema is: user_id: int64 not null, item_id: int64, behavior: string, 
dt: string not null
   ```
   Primary key should be set as not null in schema.py like java. And updated 
the test case to make all pk not null with arrow schema to match the schema 
validation when write arrow 
   
   <!-- What is the purpose of the change -->
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   
   ### Generative AI tooling
   
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   


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