Fixed vulnerabilities #174
GitHub Actions / Test Report
failed
Oct 26, 2023 in 0s
95 tests run, 0 skipped, 1 failed.
Annotations
Check failure on line 188 in src/test/java/com/exasol/glue/ittests/CleanupIT.java
github-actions / Test Report
CleanupIT.testSinkJobAlwaysFailsJobEndCleanup
Unexpected exception type thrown, expected: <org.apache.spark.SparkException> but was: <com.exasol.glue.connection.ExasolConnectionException>
Raw output
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <org.apache.spark.SparkException> but was: <com.exasol.glue.connection.ExasolConnectionException>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3111)
at com.exasol.glue.ittests.CleanupIT.testSinkJobAlwaysFailsJobEndCleanup(CleanupIT.java:188)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: com.exasol.glue.connection.ExasolConnectionException: E-EGC-24: Failure running the import 'IMPORT INTO non_existent_table FROM CSV
AT 'https://csvtest.s3.amazonaws.com:32769'
FILE 'ff5c24ce-9af7-448a-b184-a0c9cbe1dc97-local-1698323905066/29824b66-d9ed-4c3b-8d32-719c21c5aa50/part-00000-c98f2b58-158e-41e8-8a9c-1bd584ad579c-c000.csv'
FILE 'ff5c24ce-9af7-448a-b184-a0c9cbe1dc97-local-1698323905066/29824b66-d9ed-4c3b-8d32-719c21c5aa50/part-00001-c98f2b58-158e-41e8-8a9c-1bd584ad579c-c000.csv'
SKIP = 1' query. Please check that connection address, username and password are correct.
at com.exasol.glue.writer.ExasolBatchWrite.importIntermediateData(ExasolBatchWrite.java:75)
at com.exasol.glue.writer.ExasolBatchWrite.commit(ExasolBatchWrite.java:53)
at org.apache.spark.sql.execution.datasources.v2.V2TableWriteExec.writeWithV2(WriteToDataSourceV2Exec.scala:399)
at org.apache.spark.sql.execution.datasources.v2.V2TableWriteExec.writeWithV2$(WriteToDataSourceV2Exec.scala:359)
at org.apache.spark.sql.execution.datasources.v2.AppendDataExec.writeWithV2(WriteToDataSourceV2Exec.scala:225)
at org.apache.spark.sql.execution.datasources.v2.V2ExistingTableWriteExec.run(WriteToDataSourceV2Exec.scala:337)
at org.apache.spark.sql.execution.datasources.v2.V2ExistingTableWriteExec.run$(WriteToDataSourceV2Exec.scala:336)
at org.apache.spark.sql.execution.datasources.v2.AppendDataExec.run(WriteToDataSourceV2Exec.scala:225)
at org.apache.spark.sql.execution.datasources.v2.V2CommandExec.result$lzycompute(V2CommandExec.scala:43)
at org.apache.spark.sql.execution.datasources.v2.V2CommandExec.result(V2CommandExec.scala:43)
at org.apache.spark.sql.execution.datasources.v2.V2CommandExec.executeCollect(V2CommandExec.scala:49)
at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.$anonfun$applyOrElse$1(QueryExecution.scala:107)
at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$6(SQLExecution.scala:125)
at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:201)
at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$1(SQLExecution.scala:108)
at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:900)
at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:66)
at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.applyOrElse(QueryExecution.scala:107)
at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.applyOrElse(QueryExecution.scala:98)
at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$1(TreeNode.scala:461)
at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(origin.scala:76)
at org.apache.spark.sql.catalyst.trees.TreeNode.transformDownWithPruning(TreeNode.scala:461)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org$apache$spark$sql$catalyst$plans$logical$AnalysisHelper$$super$transformDownWithPruning(LogicalPlan.scala:32)
at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning(AnalysisHelper.scala:267)
at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning$(AnalysisHelper.scala:263)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning(LogicalPlan.scala:32)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning(LogicalPlan.scala:32)
at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:437)
at org.apache.spark.sql.execution.QueryExecution.eagerlyExecuteCommands(QueryExecution.scala:98)
at org.apache.spark.sql.execution.QueryExecution.commandExecuted$lzycompute(QueryExecution.scala:85)
at org.apache.spark.sql.execution.QueryExecution.commandExecuted(QueryExecution.scala:83)
at org.apache.spark.sql.execution.QueryExecution.assertCommandExecuted(QueryExecution.scala:142)
at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala:859)
at org.apache.spark.sql.DataFrameWriter.saveInternal(DataFrameWriter.scala:312)
at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:248)
at com.exasol.glue.ittests.CleanupIT.lambda$testSinkJobAlwaysFailsJobEndCleanup$2(CleanupIT.java:188)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:53)
... 6 more
Caused by: java.sql.SQLException: object NON_EXISTENT_TABLE not found [line 1, column 13] (Session: 1780821689693765632)
at com.exasol.jdbc.ExceptionFactory.createSQLException(ExceptionFactory.java:258)
at com.exasol.jdbc.EXASQLException.getSQLExceptionIntern(EXASQLException.java:50)
at com.exasol.jdbc.AbstractEXAStatement.execute(AbstractEXAStatement.java:478)
at com.exasol.jdbc.EXAStatement.execute(EXAStatement.java:289)
at com.exasol.jdbc.AbstractEXAStatement.exaExecuteLargeUpdate(AbstractEXAStatement.java:632)
at com.exasol.jdbc.EXAStatement.executeLargeUpdate(EXAStatement.java:446)
at com.exasol.jdbc.EXAStatement.executeUpdate(EXAStatement.java:547)
at com.exasol.glue.writer.ExasolBatchWrite.runImportQuery(ExasolBatchWrite.java:86)
at com.exasol.glue.writer.ExasolBatchWrite.importIntermediateData(ExasolBatchWrite.java:68)
... 42 more
Loading