[
https://issues.apache.org/jira/browse/CALCITE-6829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952313#comment-17952313
]
Yu Xu commented on CALCITE-6829:
--------------------------------
had fixed in : https://issues.apache.org/jira/browse/CALCITE-6819
so the issue can be resolved
> 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
> Priority: Major
>
> 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)