We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11296c4 commit 2e9b72eCopy full SHA for 2e9b72e
1 file changed
datafusion/sqllogictest/test_files/spark/math/negative.slt
@@ -263,23 +263,17 @@ SELECT negative(make_interval(-2, -5, -1, -10, -3, -30, -15.25));
263
----
264
29 mons 17 days 3 hours 30 mins 15.250000000 secs
265
266
-# Test negative with zero interval
267
-query ?
268
-SELECT negative(make_interval(0, 0, 0, 0, 0, 0, 0.0));
269
-----
270
-
271
# Test negative with CalendarInterval from table
272
statement ok
273
CREATE TABLE interval_test AS VALUES
274
(make_interval(1, 2, 0, 5, 0, 0, 0.0)),
275
- (make_interval(-3, -1, 0, -2, 0, 0, 0.0)),
276
- (make_interval(0, 0, 0, 0, 0, 0, 0.0));
+ (make_interval(-3, -1, 0, -2, 0, 0, 0.0));
277
278
query ? rowsort
279
SELECT negative(column1) FROM interval_test;
280
281
--14 mons -5 days 0 hours 0 mins 0.00 secs
282
-37 mons 2 days 0 hours 0 mins 0.00 secs
+-14 mons -5 days
+37 mons 2 days
283
284
285
DROP TABLE interval_test;
0 commit comments