goldmedal commented on code in PR #10956:
URL: https://github.com/apache/datafusion/pull/10956#discussion_r1644388718


##########
datafusion/sql/src/unparser/expr.rs:
##########
@@ -1256,6 +1273,30 @@ mod tests {
             ),
             (col("need-quoted").eq(lit(1)), r#"("need-quoted" = 1)"#),
             (col("need quoted").eq(lit(1)), r#"("need quoted" = 1)"#),
+            (
+                interval_month_day_nano_lit(
+                    "1 YEAR 1 MONTH 1 DAY 3 HOUR 10 MINUTE 20 SECOND",
+                ),
+                r#"INTERVAL '0 YEARS 13 MONS 1 DAYS 3 HOURS 10 MINS 
20.000000000 SECS'"#,
+            ),

Review Comment:
   I removed some tests because I think we use the formatter in `arrow-cast` 
now. We can assume the formatting behaviors are tested there. We don't need to 
keep so many tests here.



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