Skip to content

Commit

Permalink
fix slt
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwener committed May 4, 2023
1 parent aec386c commit 441b7d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion/core/tests/sqllogictests/test_files/dates.slt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ select i_item_desc from test
where d3_date > now() + '5 days';

# DATE minus DATE
query error DataFusion error: Error during planning: there isn't result type for Date32 \- Date32
query error DataFusion error: Error during planning: Unsupported argument types\. Can not evaluate Date32 \- Date32
SELECT DATE '2023-04-09' - DATE '2023-04-02';

# DATE minus Timestamp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ SELECT ts1 + i FROM foo;
2003-07-12T01:31:15.000123463

# Timestamp + Timestamp => error
statement error DataFusion error: Error during planning: there isn't result type for Timestamp\(Nanosecond, None\) \+ Timestamp\(Nanosecond, None\)
statement error DataFusion error: Error during planning: Unsupported argument types\. Can not evaluate Timestamp\(Nanosecond, None\) \+ Timestamp\(Nanosecond, None\)
SELECT ts1 + ts2
FROM foo;

Expand Down

0 comments on commit 441b7d5

Please sign in to comment.