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

Zhen Chen resolved CALCITE-6829.
--------------------------------
    Fix Version/s: 1.42.0
         Assignee: Zhen Chen
       Resolution: Fixed

Fixed in 
[{{05399a8}}|https://github.com/apache/calcite/commit/05399a86be4b53e5bb8c6bf125b6fb1d69e9b1a7]

Thanks for review [~mbudiu] [~xuzifu666] [~nobigo] 

> MSSQL dialect incorrectly translates of SELECT TRUE
> ---------------------------------------------------
>
>                 Key: CALCITE-6829
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6829
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Sree Harsha Ramanavarapu
>            Assignee: Zhen Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.42.0
>
>
> MSSQL allows only expressions in the SELECT List (or VALUES clause). This is 
> transformed into:
> SELECT * FROM (VALUES (TRUE)) AS t (EXPR$0)
> error: Invalid column name 'TRUE'
>  
> But this works:
>  
> SELECT * FROM (VALUES (1)) AS t (EXPR$0)
>  



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

Reply via email to