GitHub user dilipbiswal opened a pull request: https://github.com/apache/spark/pull/17713
[SPARK-20417][SQL] Move subquery error handling to checkAnalysis from Analyzer ## What changes were proposed in this pull request? Currently we do a lot of validations for subquery in the Analyzer. We should move them to CheckAnalysis which is the framework to catch and report Analysis errors. This was mentioned as a review comment in SPARK-18874. ## How was this patch tested? Exists tests + A few tests added to SQLQueryTestSuite. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dilipbiswal/spark subquery_checkanalysis Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17713.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #17713 ---- commit 17eebd4b7a838343cba6fd599464d0e6d89edee0 Author: Dilip Biswal <dbis...@us.ibm.com> Date: 2017-03-30T20:28:44Z [SPARK-20417] Move subquery error handling to checkAnalysis from Analyzer. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org