You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "James Xu (JIRA)" <ji...@apache.org> on 2017/05/05 09:53:04 UTC

[jira] [Commented] (BEAM-2161) add support String functions

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

James Xu commented on BEAM-2161:
--------------------------------

I will take this one.

> add support String functions
> ----------------------------
>
>                 Key: BEAM-2161
>                 URL: https://issues.apache.org/jira/browse/BEAM-2161
>             Project: Beam
>          Issue Type: Task
>          Components: dsl-sql
>            Reporter: Xu Mingmin
>            Assignee: James Xu
>              Labels: bundle, split
>
> All functions are listed as below:
> {code}
> string || string
> CHAR_LENGTH(string)
> CHARACTER_LENGTH(string)
> UPPER(string)
> LOWER(string)
> POSITION(string1 IN string2)
> POSITION(string1 IN string2 FROM integer)
> TRIM( { BOTH | LEADING | TRAILING } string1 FROM string2)
> OVERLAY(string1 PLACING string2 FROM integer [ FOR integer2 ])
> SUBSTRING(string FROM integer)
> SUBSTRING(string FROM integer FOR integer)
> INITCAP(string)
> {code}
> see https://calcite.apache.org/docs/reference.html#character-string-operators-and-functions for more information.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)