You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Laurent Goujon (Jira)" <ji...@apache.org> on 2020/05/26 22:44:00 UTC

[jira] [Assigned] (CALCITE-4025) DelegatingScope#fullyQualify may exit too soon when resolving table alias

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

Laurent Goujon reassigned CALCITE-4025:
---------------------------------------

    Assignee: Laurent Goujon

> DelegatingScope#fullyQualify may exit too soon when resolving table alias
> -------------------------------------------------------------------------
>
>                 Key: CALCITE-4025
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4025
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Laurent Goujon
>            Assignee: Laurent Goujon
>            Priority: Major
>
> When fully qualifing an id with {{DelegatingScope#fullyQualify()}} method, there's a look going over all the possible sub prefixes and trying to resolve them, until one succeed. But if not, the same lookup is done using a liberal name matcher. If that one resolves, then the method exit early with an exception message instead of going over the whole loop or trying for a fully qualified table.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)