raghavyadav01 commented on issue #26508:
URL: https://github.com/apache/datafusion/issues/26508#issuecomment-6506156703
Checked on current main (14aa185dd), this now errors instead of returning
wrong results:
```sql
SELECT x.a,
(SELECT count(*) FROM (SELECT max(y.b) FROM (VALUES (1, 10)) AS y(a,
b) WHERE y.a = x.a)) AS v1,
(SELECT max(n) FROM (SELECT count(*) AS n FROM (VALUES (1, 10)) AS
y(a, b) WHERE y.a = x.a)) AS v2
FROM (VALUES (1), (2)) AS x(a)
ORDER BY x.a;
-- This feature is not implemented: Physical plan does not support logical
expression ScalarSubquery(<subquery>)
```
DuckDB 1.5.6 gives `(1, 1, 1), (2, 1, 0)`. So this can probably move to the
unsupported list.
--
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]