[ 
https://issues.apache.org/jira/browse/CALCITE-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved CALCITE-5463.
----------------------------------
    Resolution: Not A Problem

Closing as not a bug. The {{deriveAlias}} method, according to its 
[javadoc|https://github.com/apache/calcite/blob/9054682145727fbf8a13e3c79b3512be41574349/core/src/main/java/org/apache/calcite/sql/validate/SqlValidator.java#L444],
 "generates an alias EXPR$ordinal". The type of override you have done isn't 
supported. 

If you want the ability to customize aliases, please reopen, and let's add it 
as a feature.

> Revert removing usage of SqlValidator.deriveAlias
> -------------------------------------------------
>
>                 Key: CALCITE-5463
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5463
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.33.0
>            Reporter: Vova Vysotskyi
>            Assignee: Vova Vysotskyi
>            Priority: Major
>
> {{SqlValidator.deriveAlias}} method provides the ability to customize 
> deriving aliases for the expression. In one of the recent changes, the method 
> calls were replaced with static methods, which makes such customizations 
> impossible to use.



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

Reply via email to