Error: Tests run: 17, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 53.11 s <<< FAILURE! - in org.apache.paimon.hive.HiveWriteITCase
Error: org.apache.paimon.hive.HiveWriteITCase.testInsertFromJoiningWithPartitionWithPk Time elapsed: 0.166 s <<< ERROR!
java.lang.IllegalArgumentException:
Failed to executeQuery Hive query CREATE EXTERNAL TABLE test_table_bfb7
STORED BY 'org.apache.paimon.hive.PaimonStorageHandler'
LOCATION 'file:/tmp/junit6180175164322645195/junit700012665243793310//test_db.db/hive_test_table': Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. AlreadyExistsException(message:Table test_table_bfb7 already exists)
at com.klarna.hiverunner.HiveServerContainer.executeStatement(HiveServerContainer.java:143)
at com.klarna.hiverunner.builder.HiveShellBase.executeStatementsWithCommandShellEmulation(HiveShellBase.java:121)
at com.klarna.hiverunner.builder.HiveShellBase.executeScriptWithCommandShellEmulation(HiveShellBase.java:110)
at com.klarna.hiverunner.builder.HiveShellBase.execute(HiveShellBase.java:129)
at org.apache.paimon.hive.HiveWriteITCase.writeData(HiveWriteITCase.java:161)
at org.apache.paimon.hive.HiveWriteITCase.createAppendOnlyExternalTable(HiveWriteITCase.java:141)
at org.apache.paimon.hive.HiveWriteITCase.createAppendOnlyExternalTable(HiveWriteITCase.java:123)
at org.apache.paimon.hive.HiveWriteITCase.testInsertFromJoiningWithPartitionWithPk(HiveWriteITCase.java:527)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.apache.paimon.hive.runner.PaimonEmbeddedHiveRunner.runTestMethod(PaimonEmbeddedHiveRunner.java:153)
at org.apache.paimon.hive.runner.PaimonEmbeddedHiveRunner.runChild(PaimonEmbeddedHiveRunner.java:141)
at org.apache.paimon.hive.runner.PaimonEmbeddedHiveRunner.runChild(PaimonEmbeddedHiveRunner.java:74)
Purpose
https://github.com/apache/paimon/actions/runs/11946002246/job/33299637947
Tests
API and Format
Documentation