You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/05/26 11:58:06 UTC

(datafusion) branch gh-readonly-queue/main/pr-22519-bdf8a6d0ad0706ccf29d85caf2436039e3bf77d3 created (now b146fbd28a)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a change to branch gh-readonly-queue/main/pr-22519-bdf8a6d0ad0706ccf29d85caf2436039e3bf77d3
in repository https://gitbox.apache.org/repos/asf/datafusion.git


      at b146fbd28a Add regression coverage for DATE interval overflow (#22519)

This branch includes the following new commits:

     new b146fbd28a Add regression coverage for DATE interval overflow (#22519)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org


(datafusion) 01/01: Add regression coverage for DATE interval overflow (#22519)

Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-22519-bdf8a6d0ad0706ccf29d85caf2436039e3bf77d3
in repository https://gitbox.apache.org/repos/asf/datafusion.git

commit b146fbd28ab0d7edc40a0464381682fb7f4267d2
Author: Puneet Dixit <pu...@gmail.com>
AuthorDate: Tue May 26 17:27:44 2026 +0530

    Add regression coverage for DATE interval overflow (#22519)
    
    ## Summary
    
    - add sqllogictest coverage for DATE + INTERVAL day overflow near the
    Date32 boundary
    - assert the issue repro returns the existing `Date arithmetic overflow`
    error instead of panicking
    
    Closes #22233.
    
    ## Notes
    
    Current upstream `main` already returns the expected overflow error for
    this repro, so this PR is regression coverage only.
    
    ## Tests
    
    - `cargo test -p datafusion-expr-common test_overflow_handling --
    --nocapture`
    - `cargo test --profile=ci --test sqllogictests --
    datetime/arith_date_interval.slt`
    
    Co-authored-by: Puneet Dixit <pu...@users.noreply.github.com>
---
 datafusion/sqllogictest/test_files/datetime/arith_date_interval.slt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/datafusion/sqllogictest/test_files/datetime/arith_date_interval.slt b/datafusion/sqllogictest/test_files/datetime/arith_date_interval.slt
index 01e1939996..12fcc2bfd3 100644
--- a/datafusion/sqllogictest/test_files/datetime/arith_date_interval.slt
+++ b/datafusion/sqllogictest/test_files/datetime/arith_date_interval.slt
@@ -47,3 +47,6 @@ SELECT arrow_cast('2020-01-01', 'Date64') + INTERVAL '999999' YEAR
 
 query error Arrow error: Compute error: Date arithmetic overflow
 SELECT arrow_cast('2020-01-01', 'Date64') - INTERVAL '999999' YEAR
+
+query error Arrow error: Compute error: Date arithmetic overflow
+SELECT DATE '2262-04-10' + INTERVAL '999999999' DAY


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org