Skip to content
Snippets Groups Projects
Commit bdc08ab6 authored by Wenchen Fan's avatar Wenchen Fan
Browse files

[SPARK-20688][SQL] correctly check analysis for scalar sub-queries


In `CheckAnalysis`, we should call `checkAnalysis` for `ScalarSubquery` at the beginning, as later we will call `plan.output` which is invalid if `plan` is not resolved.

new regression test

Author: Wenchen Fan <wenchen@databricks.com>

Closes #17930 from cloud-fan/tmp.

(cherry picked from commit 789bdbe3)
Signed-off-by: default avatarWenchen Fan <wenchen@databricks.com>
parent 69786ea3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment