andygrove commented on code in PR #6740:
URL: https://github.com/apache/datafusion-comet/pull/6740#discussion_r4208613562


##########
native/proto/src/proto/expr.proto:
##########
@@ -597,6 +597,11 @@ message TruncTimestamp {
   Expr format = 1;
   Expr child = 2;
   string timezone = 3;
+  // Whether SECOND and MILLISECOND truncation wraps when the result would 
fall below the
+  // smallest timestamp. Spark before 4.2.0 wraps the Long subtraction; 4.2.0 
(SPARK-56663)
+  // raises `long overflow` like every other unit. This tracks the Spark 
version Comet is
+  // running against.
+  bool wrap_second_millisecond_overflow = 4;

Review Comment:
   Yes



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