You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Chunwei Lei (JIRA)" <ji...@apache.org> on 2019/04/16 15:26:00 UTC

[jira] [Commented] (CALCITE-3005) Implement string functions: LEFT, RIGHT

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

Chunwei Lei commented on CALCITE-3005:
--------------------------------------

 Since it may face some issue as [ CALCITE-2965|https://issues.apache.org/jira/browse/CALCITE-2965], should we do it after CALCITE-2846 is done?

> Implement string functions: LEFT, RIGHT
> ---------------------------------------
>
>                 Key: CALCITE-3005
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3005
>             Project: Calcite
>          Issue Type: New Feature
>            Reporter: Forward Xu
>            Assignee: Forward Xu
>            Priority: Major
>
> Some string functions including LEFT, RIGHT are not implemented now. It would be great if these functions can be implemented.
> [{{LEFT(_str_}},_{{len}}_)|https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_left]
> Returns the leftmost _{{len}}_ characters from the string _{{str}}_, or {{NULL}} if any argument is {{NULL}}.
> [{{RIGHT(_str_}},_{{len}}_)|https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_right]
> Returns the rightmost _{{len}}_ characters from the string _{{str}}_, or {{NULL}} if any argument is {{NULL}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)