flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3498) Implement TRIM, SUBSTRING as reference design for Table API
Date Tue, 01 Mar 2016 15:19:18 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15173882#comment-15173882
] 

ASF GitHub Bot commented on FLINK-3498:
---------------------------------------

Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1747#discussion_r54580909
  
    --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/codegen/calls/ScalarFunctions.scala
---
    @@ -49,6 +49,11 @@ object ScalarFunctions {
         STRING_TYPE_INFO,
         BuiltInMethod.SUBSTRING.method)
     
    +  addSqlFunctionTrim(
    --- End diff --
    
    Can you briefly explain why `TRIM` cannot be handled as a generic SQL method like `SUBSTRING`
and requires its own `TrimCallGenerator`?


> Implement TRIM, SUBSTRING as reference design for Table API
> -----------------------------------------------------------
>
>                 Key: FLINK-3498
>                 URL: https://issues.apache.org/jira/browse/FLINK-3498
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>
> As described in FLINK-3497 TRIM and SUBSTRING are the first scalar functions implemented
in Calcite and used in Table API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message