[ 
https://issues.apache.org/jira/browse/CALCITE-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu resolved CALCITE-7468.
----------------------------------
    Fix Version/s: 1.42.0
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/dc77792feffd5028bf2e77f0ae8539f7f0f24c1b]

Thank you for the reviews [~caicancai] [~xuzifu666] 

> The SPLIT_PART implementation is incorrect for regex patterns
> -------------------------------------------------------------
>
>                 Key: CALCITE-7468
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7468
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.41.0
>            Reporter: Mihai Budiu
>            Assignee: Mihai Budiu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.42.0
>
>
> SPLIT_PART(string, delimiter, n) is supposed to interpret the delimiter as a 
> string, but the actual implementation uses String.split which treats it as a 
> regex. Thus the results are wrong for a delimiter such as '.'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to