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

Haisheng Yuan commented on CALCITE-2891:
----------------------------------------

It may cause a problem if there are thousands of field names to be generated, 
the suggested alias of last field will be thousands of characters, total will 
be much larger.

> Alias suggester failed to suggest name based on original name incrementally
> ---------------------------------------------------------------------------
>
>                 Key: CALCITE-2891
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2891
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Haisheng Yuan
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> in testAliasFilter(), the plan is
> {code:java}
> LogicalFilter(condition=[>($1, $2)])
>   LogicalProject($f1=[20], $f12=[10], DEPTNO=[$7])
>     LogicalTableScan(table=[[scott, EMP]])
> {code}
> The project alias should be 
> {code:java}
>  LogicalProject($f1=[20], $f2=[10], DEPTNO=[$7])
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to