flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] hequn8128 commented on a change in pull request #6494: [FLINK-10059] [table] Add LTRIM supported in Table API and SQL
Date Wed, 08 Aug 2018 14:45:00 GMT
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_r208608850
 
 

 ##########
 File path: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/functions/sql/ScalarSqlFunctions.scala
 ##########
 @@ -186,4 +186,12 @@ object ScalarSqlFunctions {
     SqlFunctionCategory.STRING
   )
 
+  val LTRIM = new SqlFunction(
+    "LTRIM",
+    SqlKind.OTHER_FUNCTION,
+    ReturnTypes.explicit(SqlTypeName.VARCHAR),
 
 Review comment:
   add TO_NULLABLE
   `ReturnTypes.cascade(ReturnTypes.explicit(SqlTypeName.VARCHAR), SqlTypeTransforms.TO_NULLABLE),`

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

Mime
View raw message