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

Mihai Budiu resolved CALCITE-7777.
----------------------------------
    Fix Version/s: 1.43.0
         Assignee: Jerome Isaac Haltom
       Resolution: Fixed

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

Thank you for the report and fix [~jhaltom] 

> JDBC adapter generates || for concatenation, which SQL Server rejects
> ---------------------------------------------------------------------
>
>                 Key: CALCITE-7777
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7777
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.42.0
>            Reporter: Jerome Isaac Haltom
>            Assignee: Jerome Isaac Haltom
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.43.0
>
>
> SQL Server has no || operator, and the JDBC adapter generates one.
> {code:sql}
> select "brand_name" || "product_name" from "product"
> {code}
> comes out as
> {code:sql}
> SELECT [brand_name] || [product_name]
> FROM [foodmart].[product]
> {code}
> which SQL Server answers with:
> {code}
> Incorrect syntax near '|'.
> {code}



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

Reply via email to