Github user dilipbiswal commented on the issue:
https://github.com/apache/spark/pull/21049
@henryr @gatorsmile I agree with Sean. To the best of my knowledge, spark
does not treat "select ... from ( query)" as a subquery. It treats it as an
aliased query. Please see the the grammar under "relationPrimary" rule. The
subqueries supported in spark may mostly originate from the projection (non
scalar) or predicate of the main query. So basically, we see this as
expressions either under the Project or Filter operators of the main query
block. We can look at SubquerySuite to find usage examples.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]