dilipbiswal commented 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-476078238 @sandeep-katta @maropu IMHO removing this test and also asserting in the code on a 0 length schema is probably better. We could replace the test to verify the assert exception + message instead ? The reason i am thinking this way is "the NullType is not a valid return type of a scalar subquery expression". There is no way to get a user to type in a query that can exhibit this issue, 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]
