[
https://issues.apache.org/jira/browse/DRILL-6546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531508#comment-16531508
]
ASF GitHub Bot commented on DRILL-6546:
---------------------------------------
vvysotskyi commented on issue #1346: DRILL-6546: Allow unnest function with
nested columns and complex expressions
URL: https://github.com/apache/drill/pull/1346#issuecomment-402185262
Unit tests failures after rebase were caused by another bug. It appears when
a query has a single expression in project list and this expression is taken
from the unnest. In this case, name of this field in unnest rel node is lost
due to the change made in DRILL-6545.
I have fixed this bug and added one more unit test for this case.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Allow unnest function with nested columns and complex expressions
> -----------------------------------------------------------------
>
> Key: DRILL-6546
> URL: https://issues.apache.org/jira/browse/DRILL-6546
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Volodymyr Vysotskyi
> Assignee: Volodymyr Vysotskyi
> Priority: Major
> Fix For: 1.14.0
>
>
> Currently queries with unnest andĀ nested columnsĀ or complex expressions
> inside fails:
> {code:sql}
> select u.item from cp.`lateraljoin/nested-customer.parquet` c,
> unnest(c.orders.items) as u(item)
> {code}
> fails with error:
> {noformat}
> VALIDATION ERROR: From line 2, column 10 to line 2, column 21: Column
> 'orders.items' not found in table 'c'
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)