[
https://issues.apache.org/jira/browse/CALCITE-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hongze Zhang resolved CALCITE-2891.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.19.0
Fixed in
[92562a0f213fc1edc66e25f9c88e15bacb9085df|https://gitbox.apache.org/repos/asf?p=calcite.git;a=commit;h=92562a0f213fc1edc66e25f9c88e15bacb9085df].
> 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
> Fix For: 1.19.0
>
> Time Spent: 20m
> 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)