sandeep-katta 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-476080918 Failed test case [Jenkins Report](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/103801/testReport/org.apache.spark.sql.catalyst.analysis/AnalysisErrorSuite/scalar_subquery_with_no_column/) Caused by: sbt.ForkMain$ForkError: java.util.NoSuchElementException: next on empty iterator at scala.collection.Iterator$$anon$2.next(Iterator.scala:41) at scala.collection.Iterator$$anon$2.next(Iterator.scala:39) at scala.collection.IndexedSeqLike$Elements.next(IndexedSeqLike.scala:63) at scala.collection.IterableLike.head(IterableLike.scala:109) at scala.collection.IterableLike.head$(IterableLike.scala:108) at scala.collection.mutable.ArrayOps$ofRef.scala$collection$IndexedSeqOptimized$$super$head(ArrayOps.scala:198) at scala.collection.IndexedSeqOptimized.head(IndexedSeqOptimized.scala:129) at scala.collection.IndexedSeqOptimized.head$(IndexedSeqOptimized.scala:129) at scala.collection.mutable.ArrayOps$ofRef.head(ArrayOps.scala:198) at org.apache.spark.sql.catalyst.expressions.ScalarSubquery.dataType(subquery.scala:251)
---------------------------------------------------------------- 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]
