mikamikasuki opened a new pull request, #26045:
URL: https://github.com/apache/datafusion/pull/26045

   ## Which issue does this PR close?
   
   - Closes #24909
   
   ## Rationale for this change
   
   An invalid temporal display format such as '%' can reach Arrow's table 
formatter and panic when the DataFusion CLI renders a time value. Invalid 
formats should return a configuration error before rendering.
   
   ## What changes are included in this PR?
   
   Validate configured date, datetime, timestamp, timestamp-with-timezone, and 
time formats when converting DataFusion format options to Arrow format options. 
Invalid values now return a configuration error that identifies the 
datafusion.format.* setting.
   
   ## What is the testing strategy for this PR?
   
   Added invalid_temporal_format_is_rejected_before_rendering, covering all 
five settings and confirming defaults remain valid. The CLI reproducer now 
returns a configuration error instead of panicking. The datafusion-common test 
suite, extended workspace tests, full workspace Clippy with -D warnings, 
formatting, and git diff --check passed.
   
   ## Are there any user-facing changes?
   
   Invalid temporal format settings now return a clear configuration error 
instead of panicking while query results are rendered.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to