pan3793 commented on code in PR #4751:
URL: https://github.com/apache/kyuubi/pull/4751#discussion_r1174497820


##########
externals/kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/schema/RowSet.scala:
##########
@@ -377,4 +398,23 @@ object RowSet {
         other.toString
     }
   }
+
+  /** should stay in sync with 
[[org.apache.hadoop.hive.common.type.TimestampTZUtil]] */
+  var TIMESTAMP_LZT_FORMATTER: DateTimeFormatter = {
+    val builder = new DateTimeFormatterBuilder()
+    // Date part
+    builder.append(DateTimeFormatter.ofPattern("uuuu-MM-dd"))
+    // Time part
+    builder.optionalStart().appendLiteral(" ").append(
+      DateTimeFormatter.ofPattern("HH:mm:ss")).optionalStart().appendFraction(
+      ChronoField.NANO_OF_SECOND,
+      1,
+      9,
+      true).optionalEnd().optionalEnd()
+    // Zone part
+    builder.optionalStart().appendLiteral(" ").optionalEnd()
+    builder.optionalStart().appendZoneOrOffsetId().optionalEnd()

Review Comment:
   if it's not intended, why add this?



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