HyukjinKwon commented on PR #48941:
URL: https://github.com/apache/spark/pull/48941#issuecomment-2499300265

   Seems like some test failures are related:
   
   ```
   [info] - SPARK-42823: multipart identifier support for specify database by 
--database option *** FAILED *** (2 minutes)
   [info]   =======================
   [info]   CliSuite failure output
   [info]   =======================
   [info]   Spark SQL CLI command line: ../../bin/spark-sql --master local 
--driver-java-options -Dderby.system.durability=test --conf 
spark.ui.enabled=false --conf spark.sql.legacy.emptyCurrentDBInCli=true 
--hiveconf 
javax.jdo.option.ConnectionURL=jdbc:derby:;databaseName=/home/runner/work/spark/spark/target/tmp/spark-66f5d2b1-4fe4-4ab2-8eeb-7f2772bbb2a4;create=true
 --hiveconf 
hive.exec.scratchdir=/home/runner/work/spark/spark/target/tmp/spark-4369aa53-68ab-4ebf-9750-8f761102df34
 --hiveconf conf1=conftest --hiveconf conf2=1 --hiveconf 
hive.metastore.warehouse.dir=/home/runner/work/spark/spark/target/tmp/spark-436aa139-c352-4a6d-a44e-729fd81ff01a
 --conf 
spark.sql.catalog.testcat=org.apache.spark.sql.execution.datasources.v2.jdbc.JDBCTableCatalog
 --conf 
spark.sql.catalog.testcat.driver=org.apache.derby.iapi.jdbc.AutoloadedDriver 
--conf spark.sql.catalog.testcat.url=jdbc:derby:memory:testcat;create=true 
--conf spark.sql.catalogImplementation=in-memory --database testcat.SYS
   [info]   Exception: java.util.concurrent.TimeoutException: Future timed out 
after [2 minutes]
   [info]   Failed to capture next expected output "spark-sql> SELECT 
CURRENT_CATALOG();" within 2 minutes.
   [info]   
   [info]   WARNING: Using incubator modules: jdk.incubator.vector
   [info]   Setting default log level to "WARN".
   [info]   To adjust logging level use sc.setLogLevel(newLevel). For SparkR, 
use setLogLevel(newLevel).
   [info]   Exception in thread "main" java.sql.SQLException: Database 
'memory:testcatcreate=true' not found.
   [info]       at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:115)
   [info]       at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:141)
   [info]       at 
org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:225)
   [info]       at 
org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:220)
   [info]       at 
org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java:3208)
   [info]       at 
org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(EmbedConnection.java:767)
   [info]       at 
org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:437)
   [info]       at 
org.apache.derby.iapi.jdbc.InternalDriver.getNewEmbedConnection(InternalDriver.java:630)
   [info]       at 
org.apache.derby.iapi.jdbc.InternalDriver.connect(InternalDriver.java:295)
   [info]       at 
org.apache.derby.iapi.jdbc.InternalDriver.connect(InternalDriver.java:922)
   [info]       at 
org.apache.derby.iapi.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:132)
   [info]       at 
org.apache.spark.sql.execution.datasources.jdbc.connection.BasicConnectionProvider.getConnection(BasicConnectionProvider.scala:50)
   [info]       at 
org.apache.spark.sql.execution.datasources.jdbc.connection.ConnectionProviderBase.create(ConnectionProvider.scala:102)
   [info]       at 
org.apache.spark.sql.jdbc.JdbcDialect.$anonfun$createConnectionFactory$1(JdbcDialects.scala:235)
   [info]       at 
org.apache.spark.sql.jdbc.JdbcDialect.$anonfun$createConnectionFactory$1$adapted(JdbcDialects.scala:231)
   [info]       at 
org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.withConnection(JdbcUtils.scala:1291)
   [info]       at 
org.apache.spark.sql.execution.datasources.v2.jdbc.JDBCTableCatalog.namespaceExists(JDBCTableCatalog.scala:227)
   [info]       at 
org.apache.spark.sql.connector.catalog.CatalogManager.assertNamespaceExist(CatalogManager.scala:111)
   [info]       at 
org.apache.spark.sql.connector.catalog.CatalogManager.setCurrentNamespace(CatalogManager.scala:123)
   [info]       at 
org.apache.spark.sql.execution.datasources.v2.SetCatalogAndNamespaceExec.$anonfun$run$2(SetCatalogAndNamespaceExec.scala:36)
   [info]       at 
org.apache.spark.sql.execution.datasources.v2.SetCatalogAndNamespaceExec.$anonfun$run$2$adapted(SetCatalogAndNamespaceExec.scala:36)
   [info]       at scala.Option.foreach(Option.scala:437)
   [info]       at 
org.apache.spark.sql.execution.datasources.v2.SetCatalogAndNamespaceExec.run(SetCatalogAndNamespaceExec.scala:36)
   ```
   
   Mind taking a look please?


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to