You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/08/08 14:45:00 UTC

[GitHub] hequn8128 commented on a change in pull request #6494: [FLINK-10059] [table] Add LTRIM supported in Table API and SQL

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:
users@infra.apache.org


With regards,
Apache Git Services