pages build and deployment #19
144 errors, 20 fail, 144 skipped, 9 289 pass in 1h 36m 38s
Annotations
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testEqNonPrimitive (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_GrammarFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't find a match for function 'meta::pure::functions::boolean::eq(SideClass[*],SideClass[*])'" but the the error was: "Error while executing: Drop table if exists leSchema.SideClass;"
Trace:
java.lang.RuntimeException: Error while executing: Drop table if exists leSchema.SideClass;
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor711.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_grammar_functions_boolean_equality_eq.Root_meta_pure_functions_boolean_tests_equality_eq_testEqNonPrimitive_Function_1__Boolean_1_(platform_pure_grammar_functions_boolean_equality_eq.java:780)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 77 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testEqPrimitiveExtension (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_GrammarFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't find a match for function 'meta::pure::functions::boolean::eq(SideClass[*],Nil[1])'" but the the error was: "Error while executing: insert into leSchema.SideClass (_pureId,stringId,intId) values (10,'firstSide',1);"
Trace:
java.lang.RuntimeException: Error while executing: insert into leSchema.SideClass (_pureId,stringId,intId) values (10,'firstSide',1);
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor711.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_grammar_functions_boolean_equality_eq.Root_meta_pure_functions_boolean_tests_equality_eq_testEqPrimitiveExtension_Function_1__Boolean_1_(platform_pure_grammar_functions_boolean_equality_eq.java:1325)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 77 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testEqualNonPrimitive (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_GrammarFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: ""Filter expressions are only supported for Primitives and Enums. Filter contains a parameter of type SideClass"" but the the error was: "Error while executing: Create Table leSchema.SideClass(_pureId INT,stringId VARCHAR(1024),intId INT, PRIMARY KEY(_pureId));"
Trace:
java.lang.RuntimeException: Error while executing: Create Table leSchema.SideClass(_pureId INT,stringId VARCHAR(1024),intId INT, PRIMARY KEY(_pureId));
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor711.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_grammar_functions_boolean_equality_equal.Root_meta_pure_functions_boolean_tests_equality_equal_testEqualNonPrimitive_Function_1__Boolean_1_(platform_pure_grammar_functions_boolean_equality_equal.java:1436)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 77 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testIsNonPrimitive (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_EssentialFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't find a match for function 'meta::pure::functions::boolean::is(SideClass[*],SideClass[*])'" but the the error was: "Error while executing: insert into leSchema.SideClass (_pureId,stringId,intId) values (10,'firstSide',1);"
Trace:
java.lang.RuntimeException: Error while executing: insert into leSchema.SideClass (_pureId,stringId,intId) values (10,'firstSide',1);
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_essential_boolean_equality_is.Root_meta_pure_functions_boolean_tests_testIsNonPrimitive_Function_1__Boolean_1_(platform_pure_essential_boolean_equality_is.java:342)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Table 'INTEGRATION_DB1.LESCHEMA.SIDECLASS' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testContainsNonPrimitive (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_EssentialFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't find a match for function 'meta::pure::functions::collection::contains(CO_Firm[*],CO_Firm[*])'" but the the error was: "Error while executing: Create Table leSchema.CO_Firm(_pureId INT,legalName VARCHAR(1024), PRIMARY KEY(_pureId));"
Trace:
java.lang.RuntimeException: Error while executing: Create Table leSchema.CO_Firm(_pureId INT,legalName VARCHAR(1024), PRIMARY KEY(_pureId));
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_essential_collection_boolean_contains.Root_meta_pure_functions_collection_tests_contains_testContainsNonPrimitive_Function_1__Boolean_1_(platform_pure_essential_collection_boolean_contains.java:343)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Object 'LESCHEMA.CO_FIRM' already exists.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 76 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs with error: testExistsInSelect (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_EssentialFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.CO_Person (_pureId,firstName,lastName,_CO_Firm_employees) values (110,'p3','p3',11);
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_essential_collection_boolean_quantification_exists.Root_meta_pure_functions_collection_tests_exists_testExistsInSelect_Function_1__Boolean_1_(platform_pure_essential_collection_boolean_quantification_exists.java:390)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 75 more
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 10 runs failed: testExists (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_EssentialFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: ""Cannot cast a collection of size 0 to multiplicity [1]"" but the the error was: "Error while executing: Create Table leSchema.CO_Firm(_pureId INT,legalName VARCHAR(1024), PRIMARY KEY(_pureId));"
Trace:
java.lang.RuntimeException: Error while executing: Create Table leSchema.CO_Firm(_pureId INT,legalName VARCHAR(1024), PRIMARY KEY(_pureId));
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_essential_collection_boolean_quantification_exists.Root_meta_pure_functions_collection_tests_exists_testExists_Function_1__Boolean_1_(platform_pure_essential_collection_boolean_quantification_exists.java:298)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 75 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testFoldFiltering (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_EssentialFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't resolve the builder for function 'meta::pure::functions::lang::copy' - stack:[Function 'test::lambdaContainer__Any_MANY_' Third Pass, new lambda, Applying meta::pure::mapping::from, Applying meta::pure::functions::collection::fold, new lambda, Applying meta::pure::functions::lang::if, new lambda, Applying meta::pure::functions::lang::copy]" but the the error was: "Error while executing: Drop table if exists leSchema.FO_Person;"
Trace:
java.lang.RuntimeException: Error while executing: Drop table if exists leSchema.FO_Person;
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_essential_collection_iteration_fold.Root_meta_pure_functions_collection_tests_fold_testFoldFiltering_Function_1__Boolean_1_(platform_pure_essential_collection_iteration_fold.java:382)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 75 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testFoldToMany (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_EssentialFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't resolve the builder for function 'meta::pure::functions::lang::copy' - stack:[Function 'test::lambdaContainer__Any_MANY_' Third Pass, new lambda, Applying meta::pure::mapping::from, Applying meta::pure::functions::collection::fold, new lambda, Applying meta::pure::functions::lang::copy]" but the the error was: "Error while executing: Create Table leSchema.FO_Person(_pureId INT,firstName VARCHAR(1024),lastName VARCHAR(1024),otherNames VARCHAR(1024), PRIMARY KEY(_pureId));"
Trace:
java.lang.RuntimeException: Error while executing: Create Table leSchema.FO_Person(_pureId INT,firstName VARCHAR(1024),lastName VARCHAR(1024),otherNames VARCHAR(1024), PRIMARY KEY(_pureId));
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_essential_collection_iteration_fold.Root_meta_pure_functions_collection_tests_fold_testFoldToMany_Function_1__Boolean_1_(platform_pure_essential_collection_iteration_fold.java:352)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 75 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testFold (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_EssentialFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't resolve the builder for function 'meta::pure::functions::lang::copy' - stack:[Function 'test::lambdaContainer__Any_MANY_' Third Pass, new lambda, Applying meta::pure::mapping::from, Applying meta::pure::functions::collection::fold, new lambda, Applying meta::pure::functions::lang::copy]" but the the error was: "Error while executing: Create Table leSchema.FO_Person(_pureId INT,firstName VARCHAR(1024),lastName VARCHAR(1024),otherNames VARCHAR(1024), PRIMARY KEY(_pureId));"
Trace:
java.lang.RuntimeException: Error while executing: Create Table leSchema.FO_Person(_pureId INT,firstName VARCHAR(1024),lastName VARCHAR(1024),otherNames VARCHAR(1024), PRIMARY KEY(_pureId));
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_essential_collection_iteration_fold.Root_meta_pure_functions_collection_tests_fold_testFold_Function_1__Boolean_1_(platform_pure_essential_collection_iteration_fold.java:323)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 75 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 8 runs failed: testHeadComplex (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_EssentialFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: ""Cannot cast a collection of size 0 to multiplicity [1]"" but the the error was: "Error while executing: Drop table if exists leSchema.CO_Person;"
Trace:
java.lang.RuntimeException: Error while executing: Drop table if exists leSchema.CO_Person;
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at jdk.internal.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.platform_pure_essential_collection_slice_head.Root_meta_pure_functions_collection_tests_head_testHeadComplex_Function_1__Boolean_1_(platform_pure_essential_collection_slice_head.java:109)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 75 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: testAsOfJoinWithKeyMatch (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: Create Table leSchema.tb_415443_1744927426623(key INT,time TIMESTAMP,value INT);
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_functions_transformation_asofjoin.Root_meta_pure_functions_relation_tests_asOfJoin_testAsOfJoinWithKeyMatch_Function_1__Boolean_1_(core_functions_relation_relation_functions_transformation_asofjoin.java:489)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: testAsOfJoinWithKeyMatch_MultipleExpressions (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.tb_8861098_1744927440285 (key2,time2,value2) values (3,'2000-10-25T06:32:30.000',3200);
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_functions_transformation_asofjoin.Root_meta_pure_functions_relation_tests_asOfJoin_testAsOfJoinWithKeyMatch_MultipleExpressions_Function_1__Boolean_1_(core_functions_relation_relation_functions_transformation_asofjoin.java:575)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: testSimpleAsOfJoin (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.tb_1571824_1744927443633 (key,time,value) values (3,'2000-10-25T06:32:00.000',3000);
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_functions_transformation_asofjoin.Root_meta_pure_functions_relation_tests_asOfJoin_testSimpleAsOfJoin_Function_1__Boolean_1_(core_functions_relation_relation_functions_transformation_asofjoin.java:353)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Table 'INTEGRATION_DB1.LESCHEMA.TB_1571824_1744927443633' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: testSimpleAsOfJoin_MultipleExpressions (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: Drop table if exists leSchema.tb_4028292_1744927446270;
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_functions_transformation_asofjoin.Root_meta_pure_functions_relation_tests_asOfJoin_testSimpleAsOfJoin_MultipleExpressions_Function_1__Boolean_1_(core_functions_relation_relation_functions_transformation_asofjoin.java:417)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: testExtendFilter (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.tb_2921458_1744927447855 (val,str) values (3,'ewe');
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_testExtendFilter_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1403)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Table 'INTEGRATION_DB1.LESCHEMA.TB_2921458_1744927447855' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: testFilterPostProject (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: Create Table leSchema.PersonTypeForCompositionTests(_pureId INT,firstName VARCHAR(1024),lastName VARCHAR(1024),_FirmTypeForCompositionTests_employees INT, PRIMARY KEY(_pureId));
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_testFilterPostProject_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1415)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: testWindowFunctionsAfterProject (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.PersonTypeForCompositionTests (_pureId,firstName,lastName) values (10,'Peter','Smith');
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_testWindowFunctionsAfterProject_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1647)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: test_Distinct_Filter (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.tb_690869_1744927452616 (val,str,str2) values (2,'a','b');
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_test_Distinct_Filter_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1455)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Table 'INTEGRATION_DB1.LESCHEMA.TB_690869_1744927452616' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: test_Distinct_GroupBy_Filter (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.tb_3026525_1744927454563 (val,str,str2) values (2,'a','b');
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_test_Distinct_GroupBy_Filter_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1627)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: test_Distinct_GroupBy (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.tb_3550114_1744927456366 (val,str,str2) values (3,'a','b');
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_test_Distinct_GroupBy_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1435)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Table 'INTEGRATION_DB1.LESCHEMA.TB_3550114_1744927456366' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: test_Extend_Filter_Select_ComplexGroupBy_Pivot (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.tb_6759765_1744927458543 (city,country,year,treePlanted) values ('NYC','USA',2000,5000);
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_test_Extend_Filter_Select_ComplexGroupBy_Pivot_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1527)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs failed: test_Extend_Filter_Select_GroupBy_Pivot_Extend_Sort_Limit (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't find a match for function 'meta::pure::functions::lang::cast(Relation<()>[1],Relation<T>[*])'" but the the error was: "Error while executing: Create Table leSchema.tb_7702595_1744927460270(city VARCHAR(1024),country VARCHAR(1024),year INT,treePlanted INT);"
Trace:
java.lang.RuntimeException: Error while executing: Create Table leSchema.tb_7702595_1744927460270(city VARCHAR(1024),country VARCHAR(1024),year INT,treePlanted INT);
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_test_Extend_Filter_Select_GroupBy_Pivot_Extend_Sort_Limit_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1547)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check warning on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs failed: test_Extend_Filter_Select_Pivot_GroupBy_Extend_Sort (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.AssertionError:
The PCT test runner expected an error containing: "Can't find a match for function 'meta::pure::functions::lang::cast(Relation<()>[1],Relation<T>[*])'" but the the error was: "Error while executing: Drop table if exists leSchema.tb_9563865_1744927461119;"
Trace:
java.lang.RuntimeException: Error while executing: Drop table if exists leSchema.tb_9563865_1744927461119;
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_test_Extend_Filter_Select_Pivot_GroupBy_Extend_Sort_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1567)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more
at org.junit.Assert.fail(Assert.java:89)
at org.finos.legend.pure.m3.pct.shared.PCTTools.displayErrorMessage(PCTTools.java:72)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:161)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Check failure on line 0 in org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase
github-actions / Test Results
1 out of 11 runs with error: test_GroupBy_Distinct_Filter (org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase)
artifacts/test-results/TEST-org.finos.legend.engine.plan.execution.stores.relational.test.snowflake.pct.Test_Relational_Snowflake_RelationFunctions_PCT.xml
Raw output
java.lang.RuntimeException: Error while executing: insert into leSchema.tb_7891000_1744927461884 (val,str,str2) values (2,'a','b');
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:73)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutor.execute(RelationalExecutor.java:246)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:346)
at org.finos.legend.engine.plan.execution.stores.relational.plugin.RelationalExecutionNodeExecutor.visit(RelationalExecutionNodeExecutor.java:173)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.stores.relational.RelationalExecutionExtension.lambda$getExtraNodeExecutors$9d7202ba$1(RelationalExecutionExtension.java:58)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.lambda$visit$0(ExecutionNodeExecutor.java:173)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:173)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SQLExecutionNode.accept(SQLExecutionNode.java:39)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:617)
at org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor.visit(ExecutionNodeExecutor.java:108)
at org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.SequenceExecutionNode.accept(SequenceExecutionNode.java:22)
at org.finos.legend.engine.plan.execution.PlanExecutor.executeWithArgs(PlanExecutor.java:293)
at org.finos.legend.engine.pure.runtime.execution.shared.LegendExecute.doExecute(LegendExecute.java:54)
at org.finos.legend.engine.pure.runtime.execution.compiled.natives.LegendExecute.execute(LegendExecute.java:85)
at org.finos.legend.pure.generated.core_external_execution_execution$1.execute(core_external_execution_execution.java:30)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:494)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_legend_tools_devUtils.Root_meta_legend_executePlanAsJSON_String_1__Pair_MANY__String_1_(core_legend_tools_devUtils.java:54)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_setupDatabase_String_MANY__Database_1__Runtime_1__DebugContext_1__String_1_(core_external_test_connection_pct_relational.java:2652)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational$123.valueOf(core_external_test_connection_pct_relational.java:2548)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_process_reprocess_Function_1__DatabaseConnection_1__DebugContext_1__Pair_1_(core_external_test_connection_pct_relational.java:2573)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalExecution_Function_1__DatabaseConnection_1__X_o_(core_external_test_connection_pct_relational.java:1871)
at org.finos.legend.pure.generated.core_external_test_connection_pct_relational.Root_meta_relational_tests_pct_testAdapterForRelationalWithSnowflakeExecution_Function_1__X_o_(core_external_test_connection_pct_relational.java:1811)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.metadata.JavaMethodWithParamsSharedPureFunction.execute(JavaMethodWithParamsSharedPureFunction.java:55)
at org.finos.legend.pure.runtime.java.compiled.generation.processors.support.Pure.evaluate(Pure.java:486)
at org.finos.legend.pure.generated.CoreGen.evaluate(CoreGen.java:107)
at org.finos.legend.pure.generated.core_functions_relation_relation_tests_composition.Root_meta_pure_functions_relation_tests_composition_test_GroupBy_Distinct_Filter_Function_1__Boolean_1_(core_functions_relation_relation_tests_composition.java:1607)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.executeFn(PureTestBuilderCompiled.java:141)
at org.finos.legend.pure.runtime.java.compiled.testHelper.PureTestBuilderCompiled.lambda$buildPCTTestSuite$2(PureTestBuilderCompiled.java:97)
at org.finos.legend.pure.m3.execution.test.PureTestBuilder$PureTestCase.runTest(PureTestBuilder.java:112)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:
Schema 'INTEGRATION_DB1.LESCHEMA' does not exist or not authorized.
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)
at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)
at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)
at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)
at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)
at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)
at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)
at net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)
at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at org.finos.legend.engine.plan.execution.stores.relational.result.VoidRelationalResult.<init>(VoidRelationalResult.java:68)
... 74 more