[
https://issues.apache.org/jira/browse/CALCITE-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18031088#comment-18031088
]
Ruben Q L commented on CALCITE-7236:
------------------------------------
[~adnan] could you please provide a unit test reproducing the error?
> sqlAdvisor.getQualifiedName() always returns null
> -------------------------------------------------
>
> Key: CALCITE-7236
> URL: https://issues.apache.org/jira/browse/CALCITE-7236
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.30.0
> Reporter: adnan
> Priority: Major
>
> the method: *@Nullable SqlMoniker getQualifiedName(String sql, int cursor)*
> in the sqlAdvisor class always returns null. This is because in the
> *SqlValidatorImpl* class, *lookupQualifiedName(sqlNode, pos)* tries to get
> values from the hashmap *idPositions,* but this hashmap is empty since it's
> never set.
>
> Is this expected behaviour?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)