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

   `create_format_writer` says `expected .parquet, .row` when it rejects a 
path, but the same
   function also dispatches `.blob` and, under the `vortex` feature, `.vortex`. 
A caller
   passing an unsupported extension is told two of the four accepted ones.
   
   **Fix**: derive the message from a `supported_write_formats()` list, 
mirroring the read
   side, which already builds its error from `supported_read_formats()`. The 
list carries the
   same `#[cfg(feature = "vortex")]` gate as the dispatch arm, so the message 
stays accurate
   in both builds.
   
   The new test asserts every entry of that list appears in the message, so a 
future writer
   arm cannot drift from it again. It fails on the old literal.
   


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