hequn8128 commented on a change in pull request #6494: [FLINK-10059] [table] 
Add LTRIM supported in Table API and SQL
URL: https://github.com/apache/flink/pull/6494#discussion_r208608819
 
 

 ##########
 File path: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/codegen/calls/BuiltInMethods.scala
 ##########
 @@ -135,4 +135,6 @@ object BuiltInMethods {
   val FROMBASE64 = Types.lookupMethod(classOf[ScalarFunctions], "fromBase64", 
classOf[String])
 
   val TOBASE64 = Types.lookupMethod(classOf[ScalarFunctions], "toBase64", 
classOf[String])
+
+  val LTRIM = Types.lookupMethod(classOf[ScalarFunctions], "lTrim", 
classOf[String])
 
 Review comment:
   Use `ltrim` function in calcite directly. 
   `val LTRIM = Types.lookupMethod(classOf[SqlFunctions], "ltrim", 
classOf[String])`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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