jonahgao commented on issue #11773:
URL: https://github.com/apache/datafusion/issues/11773#issuecomment-2301598463
After fixing that function, it will give the following error.
```sh
DataFusion CLI v41.0.0
> SELECT id, (SELECT * FROM UNNEST(arr) LIMIT 1) FROM
(
SELECT 1 id, array [1, 2] arr
UNION
SELECT 2 id, array [] arr
) rows;
This feature is not implemented: Physical plan does not support logical
expression ScalarSubquery(<subquery>)
```
Similar to `select (select * from values(a) limit 1) from (values(1) t(a))`.
DataFusion's current support for subqueries is limited, so fixing it might
require more work.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]