hequn8128 commented on a change in pull request #6432: [FLINK-9970] Add 
ASCII/CHR function for table/sql API
URL: https://github.com/apache/flink/pull/6432#discussion_r205932693
 
 

 ##########
 File path: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/scala/expressionDsl.scala
 ##########
 @@ -544,11 +544,22 @@ trait ImplicitExpressionOperations {
   def overlay(newString: Expression, starting: Expression, length: Expression) 
=
     Overlay(expr, newString, starting, length)
 
+  /**
+    * Returns the numeric value of the leftmost character of the string.
+    */
+  def ascii() = Ascii(expr)
+
   /**
     * Returns the base string decoded with base64.
     */
   def fromBase64() = FromBase64(expr)
 
+  /*
 
 Review comment:
   /* => /**

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


With regards,
Apache Git Services

Reply via email to