lucasfang opened a new pull request, #539:
URL: https://github.com/apache/paimon-cpp/pull/539

   ### Purpose
   
   Addresses the Linux ARM64 compilation failures reported in #537. The broader 
platform and CI changes are being tested separately in #538.
   
   GCC 13.3 reports `-Wmaybe-uninitialized` for the optional shared pointers 
returned by `SealForCommit` and predicate reconstruction. Default-construct 
each optional before assigning the successful result. GCC also reports 
`-Warray-bounds` when the postpone writer test appends formats to a vector 
initialized with one element. Initialize the enabled formats in a single list, 
preserving their order.
   
   ### Tests
   
   On Ubuntu 24.04 aarch64 with GCC 13.3.0, configured a Release build with 
tests, Avro and ORC enabled. Used its CMake compile commands with the existing 
dependency and generated headers for a before/after comparison, retaining `-O3 
-DNDEBUG -Wall -Werror`.
   
   - On upstream main at `9526f44a`, all three affected translation units 
failed to compile.
   - With the changes, `arrow_realtime_store_test.cpp`, 
`precise_file_index_read.cpp` and `postpone_bucket_writer_test.cpp` compiled 
successfully under the same flags.
   - Ran the changed-file pre-commit hooks and `git diff --check`.
   
   ### API and Format
   
   The public API and storage formats are unchanged.
   
   ### Documentation
   
   This patch fixes compilation of existing behavior. No documentation changes 
are needed.
   
   ### Generative AI tooling
   
   Generated-by: OpenAI Codex (GPT-6)
   


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