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

Julian Hyde commented on CALCITE-1322:
--------------------------------------

When writing a unit test, it depends which component you are trying to test 
(i.e. which component has the bug). Does the problem show up during validation 
(i.e. generate an exception with SqlValidatorImpl somewhere in the call stack). 
If so add a method to SqlValidatorTest. If not, how does the bug manifest?

> Wrong prefix number in DelegatingScope.fullyQualify()
> -----------------------------------------------------
>
>                 Key: CALCITE-1322
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1322
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.7.0
>            Reporter: Vitalii Diravka
>            Assignee: Julian Hyde
>            Priority: Minor
>
> The issue in the _DelegatingScope.fullyQualify()_.
> The prefix number must be _identifier.names.size()_ instead of _1_ in 
> _identifier.isStar()_ condition statement. 
> The case for reproducing - the asterisk with full schema identifier.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to