[
https://issues.apache.org/jira/browse/DRILL-6546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532077#comment-16532077
]
ASF GitHub Bot commented on DRILL-6546:
---------------------------------------
amansinha100 commented on issue #1346: DRILL-6546: Allow unnest function with
nested columns and complex expressions
URL: https://github.com/apache/drill/pull/1346#issuecomment-402324758
Yes, each unnest will operate on single column, so the plan will have 2
LateralJoin and as long as there is a Project inserted on the left side of each
one, then I suppose the code will work fine.
Overall, I am +1.
----------------------------------------------------------------
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)