dilipbiswal edited a comment on issue #24182: [SPARK-27246][SQL]scalar subquery with no column test fails as it is throwing NoSuchElementException instead of AnalysisException URL: https://github.com/apache/spark/pull/24182#issuecomment-476081311 @HyukjinKwon From one of sandeep's comment i gathered that this is the test (in AnalysisErrorSuite) thats failing : ``` errorTest( "scalar subquery with no column", testRelation.select(ScalarSubquery(LocalRelation()).as('a)), "Scalar subquery must return only one column, but got 0" :: Nil) ``` Here we are purposely setting up an ScalarSubquery expression op top of a relation with 0 length scema. If we run this test normally it passes. But if we turn on plan debugging it fails. @sandeep-katta Please let me know if i got it right :-)
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
