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

Mihai Budiu commented on CALCITE-7390:
--------------------------------------

Here is a program which leads to a struct with two fields named 'v':
{code:java}
CREATE TABLE T(v BIGINT);
CREATE VIEW V AS SELECT COUNT(*) OVER (ORDER BY v) v FROM T; {code}

> Types generated for Window can contain multiple fields with the same name
> -------------------------------------------------------------------------
>
>                 Key: CALCITE-7390
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7390
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.42
>            Reporter: Mihai Budiu
>            Priority: Minor
>
> As a result of CALCITE-7375 some LogicalWindow operations can have types with 
> duplicate names. 
> [~lincoln.86xy] you have introduced this change.



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

Reply via email to