egasimov commented on issue #2936:
URL: https://github.com/apache/drill/issues/2936#issuecomment-2312583394
After analyzing the source code for the UNNEST operator, we have observed
the following pattern need to be used with the UNNEST operator.
```
{
"queryType": "SQL",
"query": "SELECT d.customer_id, d.purchased_items FROM
dfs.root.`/datas3/customers/*` d WHERE EXISTS ( SELECT 1 FROM
UNNEST(d.purchased_items) t2(ord) WHERE t2.ord.item_id in (2000001))"
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]