peterxcli opened a new pull request, #5858:
URL: https://github.com/apache/datafusion-comet/pull/5858

   ## Which issue does this PR close?
   
   Closes #5716.
   
   ## Rationale for this change
   
   Spark accepts explicit positive years such as `+7528`, but Comet returns 
NULL. Malformed signs also bypass ANSI errors.
   
   ## What changes are included in this PR?
   
   Accept either year sign in the shared timestamp patterns and remove the 
duplicated `+` handling from the TIMESTAMP and TIMESTAMP_NTZ parsers. Restore 
positive-year fuzz coverage.
   
   ## How are these changes tested?
   
   Rust and Parquet-backed SQL regressions cover Legacy, TRY, and ANSI casts, 
signed dates, timezone suffixes, and malformed signs. All 33 native string-cast 
tests and 14 targeted Spark 4.1.3 tests pass, including the 10,000-input fuzz 
test.
   


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