Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Sep 12, 2024
1 parent 5ad18e0 commit e7ed21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/sql/tests/sql_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2758,7 +2758,7 @@ fn negative_interval_plus_interval_in_projection() {

#[test]
fn complex_interval_expression_in_projection() {
let sql ="select -interval '2 days' + interval '5 days'+ (-interval '3 days' + interval '5 days');";
let sql = "select -interval '2 days' + interval '5 days'+ (-interval '3 days' + interval '5 days');";
let expected =
"Projection: IntervalMonthDayNano(\"IntervalMonthDayNano { months: 0, days: -2, nanoseconds: 0 }\") + IntervalMonthDayNano(\"IntervalMonthDayNano { months: 0, days: 5, nanoseconds: 0 }\") + IntervalMonthDayNano(\"IntervalMonthDayNano { months: 0, days: -3, nanoseconds: 0 }\") + IntervalMonthDayNano(\"IntervalMonthDayNano { months: 0, days: 5, nanoseconds: 0 }\")\n EmptyRelation";
quick_test(sql, expected);
Expand Down

0 comments on commit e7ed21e

Please sign in to comment.