You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2019/06/03 18:20:00 UTC
[jira] [Resolved] (CALCITE-3005) Implement string functions: LEFT,
RIGHT
[ https://issues.apache.org/jira/browse/CALCITE-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-3005.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.20.0
Fixed in [7f33215f|https://github.com/apache/calcite/commit/7f33215ffaf9c0b8f4bef082913c910c77bf4427]; thanks fo the PR, [~x1q1j1]!
> 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
> Labels: pull-request-available
> Fix For: 1.20.0
>
> Time Spent: 6h 50m
> Remaining Estimate: 0h
>
> 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)