[
https://issues.apache.org/jira/browse/CALCITE-6791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ZheHu resolved CALCITE-6791.
----------------------------
Fix Version/s: 1.39.0
Resolution: Fixed
> Search pattern during matching in REPLACE function should be case insensitive
> in MSSQL
> --------------------------------------------------------------------------------------
>
> Key: CALCITE-6791
> URL: https://issues.apache.org/jira/browse/CALCITE-6791
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.38.0
> Reporter: ZheHu
> Assignee: ZheHu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.39.0
>
>
> REPLACE function in Microsoft SQL Server is case insensitive when matching
> the search pattern.
> Result for the following query is "ciciaociaoo"
> {code:java}
> replace('ciAao', 'a', 'ciao')
> {code}
> Same query in Oracle or PostgreSQL results in "ciAciaoo".
> For this case, we should add a function(call it REPLACE_MSSQL) and enable it
> when fun=mssql.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)