KurtYoung commented on a change in pull request #10105: 
[Flink-14599][table-planner-blink] Support precision of TimestampType in blink 
planner
URL: https://github.com/apache/flink/pull/10105#discussion_r343535345
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/codegen/GenerateUtils.scala
 ##########
 @@ -370,8 +370,15 @@ object GenerateUtils {
         generateNonNullLiteral(literalType, literalValue.toString, 
literalValue)
 
       case TIMESTAMP_WITHOUT_TIME_ZONE =>
+        // TODO: support Timestamp(3) now
+        val fieldTerm = newName("timestamp")
         val millis = literalValue.asInstanceOf[Long]
 
 Review comment:
   Could you explain why when we generating a literal for `TIMESTAMP` type, the 
value will be passed in as `Long`?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to