jackylee-ch opened a new pull request, #84:
URL: https://github.com/apache/paimon-mosaic/pull/84

   ## Purpose
   
   `MosaicSchema::validate` rejects duplicate column names but not empty ones, 
while `deserialize` rejects them with "schema: empty column name". A writer 
therefore accepts an empty column name and closes successfully, producing a 
file no reader can open.
   
   ## Changes
   
   - Reject empty column names in `validate`, matching the reader and the CLI 
check added in #81.
   
   ## Tests
   
   - `test_validate_rejects_empty_column_name`, which also asserts such a 
schema still fails to deserialize.
   - `cargo fmt --all -- --check`, `cargo clippy --all-targets --workspace -- 
-D warnings`, `cargo test --release --workspace`: 475 passed, 0 failed (interop 
cases skipped locally).
   


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