[
https://issues.apache.org/jira/browse/CALCITE-5551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705169#comment-17705169
]
Benchao Li commented on CALCITE-5551:
-------------------------------------
[~hamnis] Before we are going into the implementation details, we'd better make
the specification clear in the Jira first. E.g.,
* Is {{SELECT * EXCEPT()}} valid?
* Is {{SELECT col1 as new_col, * EXCEPT(col2)}} valid?
* Is {{SELECT * EXCEPT(col1), col2 as new_col}} valid?
* How does it handle derived column names, such as {{SELECT * EXCEPT(???) FROM
(SELECT 1, 2, 3)}}?
You can come up with more cases. After we settle down the specification, then
we'll go to the implementation.
> Implement SELECT * EXCEPT field
> -------------------------------
>
> Key: CALCITE-5551
> URL: https://issues.apache.org/jira/browse/CALCITE-5551
> Project: Calcite
> Issue Type: Improvement
> Reporter: Erlend Hamnaberg
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Some databases like bigquery support SELECT * Except (field1, field2)
>
> https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#select_except
--
This message was sent by Atlassian Jira
(v8.20.10#820010)