[ 
https://issues.apache.org/jira/browse/CALCITE-7331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044767#comment-18044767
 ] 

Julian Hyde commented on CALCITE-7331:
--------------------------------------

Can you improve the description?
* You should link to the case where we added EXCLUDE.
* Include at least one example.
* Clickhouse supports "SELECT expr EXCEPT ()", not just "SELECT * EXCEPT". The 
description should say exactly what we support.
* Is the syntax ambiguous? "SELECT 1 AS x, 2 AS y EXCEPT (x)" is very similar 
to "SELECT 1 AS x, 2 AS y EXCEPT (SELECT 1, 3)"
* Which config option(s) control this? Is it enabled by default?
* Do you give an error if EXCEPT references columns that don't exist?
* Do you give an error if EXCEPT has duplicates?
* Do you give an error if, after applying EXCEPT, there are zero columns?

> Support the alias form SELECT * EXCEPT() for SELECT * EXCLUDE()
> ---------------------------------------------------------------
>
>                 Key: CALCITE-7331
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7331
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.41.0
>            Reporter: Zhen Chen
>            Assignee: Zhen Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.42.0
>
>
> ClickHouse supports SELECT * EXCEPT()
> https://clickhouse.com/docs/zh/sql-reference/statements/select/except-modifier



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

Reply via email to