You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Tanner Clary (Jira)" <ji...@apache.org> on 2023/12/21 22:11:00 UTC

[jira] [Resolved] (CALCITE-6156) Add ENDSWITH, STARTSWITH functions (enabled in Postgres, Snowflake libraries)

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

Tanner Clary resolved CALCITE-6156.
-----------------------------------
    Fix Version/s: 1.37.0
       Resolution: Fixed

Merged via [e74ff3ea|https://github.com/apache/calcite/commit/e74ff3eaa0a339ad3d099739780ce05a40efbe87], thanks for the reviews, [~julianhyde][~jerin_john]!

> Add ENDSWITH, STARTSWITH functions (enabled in Postgres, Snowflake libraries)
> -----------------------------------------------------------------------------
>
>                 Key: CALCITE-6156
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6156
>             Project: Calcite
>          Issue Type: New Feature
>            Reporter: Tanner Clary
>            Assignee: Tanner Clary
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.37.0
>
>
> Calcite already offers BigQuery's {{STARTS_WITH}} and {{ENDS_WITH}} functions. Postgres offers these functions as well. Snowflake offers two very similar functions (the only difference being the naming). 
> Examples of each function can be found in their original implementation commit [742d477|https://github.com/apache/calcite/commit/742d47795b878576f8cbdab5f62b26d95559792a]
> There will also need to be a small change necessary since Snowflake uses {{ENDSWITH}} and {{STARTSWITH}} as the function names.



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