JingsongLi opened a new pull request, #8270:
URL: https://github.com/apache/paimon/pull/8270

   ## Summary
   
   Support Python API usage of `global-index.column-update-action` for global 
index column updates. This keeps the Python option behavior aligned with the 
Java enum-style configuration and documents the option in Python core options.
   
   ## Changes
   
   - Serialize Python enum option values using their enum value so 
`CoreOptions.set(...)` can round-trip `GlobalIndexColumnUpdateAction` instances.
   - Add a description for `global-index.column-update-action` in Python 
`CoreOptions`.
   - Add focused tests for string configuration, Python enum configuration, 
default rejection, and `DROP_PARTITION_INDEX` index-delete generation.
   
   ## Testing
   
   - [x] `python -m pytest pypaimon/tests/global_index_update_action_test.py -q`
   - [x] `python -m pytest pypaimon/tests/table_scan_mode_test.py 
pypaimon/tests/index_manifest_write_test.py -q`
   - [x] `python -m py_compile pypaimon/common/options/options_utils.py 
pypaimon/common/options/core_options.py 
pypaimon/tests/global_index_update_action_test.py`
   - [x] `mvn -pl paimon-core -am -Pfast-build -DfailIfNoTests=false 
-Dtest=org.apache.paimon.JavaPyE2ETest#testBtreeIndexWrite -Drun.e2e.tests=true 
test`
   - [x] `python -m pytest 
java_py_read_write_test.py::JavaPyReadWriteTest::test_read_btree_index_table -q`
   - [x] `git diff --check`
   
   ## Notes
   
   No breaking changes.
   


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