iRakson commented on issue #26863: [SPARK-30234][SQL] ADD FILE cannot add 
directories from sql CLI
URL: https://github.com/apache/spark/pull/26863#issuecomment-571981188
 
 
   > Seems the test fails:
   > 
   > ```
   > [info] - Add a directory when spark.sql.legacy.addDirectory.recursive not 
set to true *** FAILED *** (66 milliseconds)
   > [info]   Expected exception org.apache.spark.SparkException to be thrown, 
but no exception was thrown (DDLSuite.scala:2916)
   > [info]   org.scalatest.exceptions.TestFailedException:
   > [info]   at 
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530)
   > [info]   at 
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529)
   > [info]   at 
org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
   > [info]   at org.scalatest.Assertions.intercept(Assertions.scala:824)
   > [info]   at org.scalatest.Assertions.intercept$(Assertions.scala:804)
   > [info]   at org.scalatest.FunSuite.intercept(FunSuite.scala:1560)
   > [info]   at 
org.apache.spark.sql.execution.command.DDLSuite.$anonfun$new$412(DDLSuite.scala:2916)
   > [info]   at 
org.apache.spark.sql.execution.command.DDLSuite.$anonfun$new$412$adapted(DDLSuite.scala:2915)
   > [info]   at 
org.apache.spark.sql.test.SQLTestUtils.$anonfun$withTempDir$1(SQLTestUtils.scala:76)
   > [info]   at 
org.apache.spark.sql.test.SQLTestUtils.$anonfun$withTempDir$1$adapted(SQLTestUtils.scala:75)
   > [info]   at 
org.apache.spark.SparkFunSuite.withTempDir(SparkFunSuite.scala:161)
   > [info]   at 
org.apache.spark.sql.execution.command.DDLSuite.org$apache$spark$sql$test$SQLTestUtils$$super$withTempDir(DDLSuite.scala:228)
   > [info]   at 
org.apache.spark.sql.test.SQLTestUtils.withTempDir(SQLTestUtils.scala:75)
   > [info]   at 
org.apache.spark.sql.test.SQLTestUtils.withTempDir$(SQLTestUtils.scala:74)
   > [info]   at 
org.apache.spark.sql.execution.command.DDLSuite.withTempDir(DDLSuite.scala:228)
   > ```
   > 
   > and it causes the cascaded test failures.
   
   I will check the failing test cases.

----------------------------------------------------------------
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]

Reply via email to