RD-10855 RDMBS readers duplicate columns that have the same name #420
GitHub Actions / JUnit Test Report
failed
Jun 5, 2024 in 0s
2530 tests run, 2522 passed, 6 skipped, 2 failed.
Annotations
github-actions / JUnit Test Report
RD10855Test.PostgreSQL.InferAndQuery( "rawtest", """SELECT t1.a, t2.a, t1.b, t2.x as b FROM rdbmstest.tbl1 t1, rdbmstest.tbl1 t2 WHERE t1.a = t2.a """, host = "test-psql.raw-labs.com", username = "rawtest", password = "f55ba92415" )
org.scalatest.exceptions.TestFailedException: null
Raw output
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: null
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.funsuite.FixtureAnyFunSuite.newAssertionFailedException(FixtureAnyFunSuite.scala:230)
at org.scalatest.Assertions.fail(Assertions.scala:965)
at org.scalatest.Assertions.fail$(Assertions.scala:961)
at org.scalatest.funsuite.FixtureAnyFunSuite.fail(FixtureAnyFunSuite.scala:230)
at raw.compiler.rql2.tests.CompilerTestContext.doValidate(CompilerTestContext.scala:662)
at raw.compiler.rql2.tests.CompilerTestContext.doValidate$(CompilerTestContext.scala:649)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.doValidate(TruffleCompilerTestContext.scala:18)
at raw.compiler.rql2.tests.CompilerTestContext.tryExecuteQuery(CompilerTestContext.scala:607)
at raw.compiler.rql2.tests.CompilerTestContext.tryExecuteQuery$(CompilerTestContext.scala:595)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.tryExecuteQuery(TruffleCompilerTestContext.scala:18)
at raw.compiler.rql2.tests.CompilerTestContext.executeQuery(CompilerTestContext.scala:589)
at raw.compiler.rql2.tests.CompilerTestContext.executeQuery$(CompilerTestContext.scala:581)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.executeQuery(TruffleCompilerTestContext.scala:18)
at raw.compiler.rql2.tests.CompilerTestContext$EvaluateTo.apply(CompilerTestContext.scala:399)
at raw.compiler.rql2.tests.CompilerTestContext$EvaluateTo.apply(CompilerTestContext.scala:396)
at org.scalatest.matchers.should.Matchers$ShouldMethodHelperClass.shouldMatcher(Matchers.scala:7291)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.should(Matchers.scala:7347)
at raw.compiler.rql2.tests.truffle.regressions.RD10855Test.$anonfun$new$4(RD10855Test.scala:95)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.withFixture(TruffleCompilerTestContext.scala:18)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.org$scalatest$BeforeAndAfterAll$$super$run(TruffleCompilerTestContext.scala:18)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.run(TruffleCompilerTestContext.scala:18)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: SqlQueryInputFormatDescriptor(pgsql,rawtest,SourceCollectionType(SourceRecordType(Vector(SourceAttrType(a,SourceIntType(false)), SourceAttrType(a,SourceIntType(false)), SourceAttrType(b,SourceIntType(true)), SourceAttrType(b,SourceStringType(false))),false),false)) (of class raw.inferrer.api.SqlQueryInputFormatDescriptor)
at raw.client.rql2.truffle.Rql2TruffleCompilerService.$anonfun$getType$1(Rql2TruffleCompilerService.scala:140)
at raw.client.rql2.truffle.Rql2TruffleCompilerService.withTruffleContext(Rql2TruffleCompilerService.scala:719)
at raw.client.rql2.truffle.Rql2TruffleCompilerService.getType(Rql2TruffleCompilerService.scala:130)
at raw.compiler.rql2.tests.CompilerTestContext.doValidate(CompilerTestContext.scala:656)
... 55 more
Caused by: sbt.ForkMain$ForkError: scala.MatchError: SqlQueryInputFormatDescriptor(pgsql,rawtest,SourceCollectionType(SourceRecordType(Vector(SourceAttrType(a,SourceIntType(false)), SourceAttrType(a,SourceIntType(false)), SourceAttrType(b,SourceIntType(true)), SourceAttrType(b,SourceStringType(false))),false),false)) (of class raw.inferrer.api.SqlQueryInputFormatDescriptor)
at raw.compiler.rql2.builtin.SqlTableExtensionHelper.resolveInferType(SqlTableExtensionHelper.scala:132)
at raw.compiler.rql2.builtin.SqlTableExtensionHelper.resolveInferType$(SqlTableExtensionHelper.scala:122)
at raw.compiler.rql2.builtin.PostgreSQLInferAndQueryEntry.resolveInferType(PostgreSQLPackage.scala:297)
at raw.compiler.rql2.builtin.PostgreSQLInferAndQueryEntry.$anonfun$returnType$5(PostgreSQLPackage.scala:390)
at scala.util.Either.flatMap(Either.scala:341)
at raw.compiler.rql2.builtin.PostgreSQLInferAndQueryEntry.$anonfun$returnType$4(PostgreSQLPackage.scala:389)
at scala.util.Either.flatMap(Either.scala:341)
at raw.compiler.rql2.builtin.PostgreSQLInferAndQueryEntry.returnType(PostgreSQLPackage.scala:388)
at raw.compiler.rql2.api.EntryExtension.returnTypeErrorList(PackageExtension.scala:138)
at raw.compiler.rql2.SemanticAnalyzer.getFunAppPackageEntryType(SemanticAnalyzer.scala:1226)
at raw.compiler.rql2.SemanticAnalyzer.raw$compiler$rql2$SemanticAnalyzer$$funAppHasError(SemanticAnalyzer.scala:641)
at raw.compiler.rql2.SemanticAnalyzer$$anonfun$1.isDefinedAt(SemanticAnalyzer.scala:532)
at raw.compiler.rql2.SemanticAnalyzer$$anonfun$1.isDefinedAt(SemanticAnalyzer.scala:483)
at scala.PartialFunction$OrElse.isDefinedAt(PartialFunction.scala:170)
at raw.compiler.base.SemanticAnalyzer$$anonfun$1.isDefinedAt(SemanticAnalyzer.scala:63)
at raw.compiler.utils.ExtraRewriters$$anonfun$collectNodes$1.applyOrElse(ExtraRewriters.scala:35)
at scala.PartialFunction$AndThen.applyOrElse(PartialFunction.scala:194)
at scala.PartialFunction$AndThen.applyOrElse(PartialFunction.scala:194)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$query$1(Rewriter.scala:215)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:69)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:67)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy.$anonfun$$less$plus$1(Strategy.scala:59)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:33)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:31)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy.$anonfun$$less$times$1(Strategy.scala:44)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:33)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:31)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$allProduct$1(Rewriter.scala:592)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$allProduct$1$adapted(Rewriter.scala:590)
at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
at scala.collection.Iterator.foreach(Iterator.scala:943)
at scala.collection.Iterator.foreach$(Iterator.scala:943)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
at scala.collection.AbstractIterator.foldLeft(Iterator.scala:1431)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.allProduct(Rewriter.scala:590)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.allProduct$(Rewriter.scala:583)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$.allProduct(Rewriter.scala:1643)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$all$1(Rewriter.scala:543)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:69)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:67)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy.$anonfun$$less$times$1(Strategy.scala:45)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:33)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:31)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$allProduct$1(Rewriter.scala:592)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$allProduct$1$adapted(Rewriter.scala:590)
at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
at scala.collection.Iterator.foreach(Iterator.scala:943)
at scala.collection.Iterator.foreach$(Iterator.scala:943)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
at scala.collection.AbstractIterator.foldLeft(Iterator.scala:1431)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.allProduct(Rewriter.scala:590)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.allProduct$(Rewriter.scala:583)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$.allProduct(Rewriter.scala:1643)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$all$1(Rewriter.scala:543)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:69)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:67)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy.$anonfun$$less$times$1(Strategy.scala:45)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:33)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:31)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:69)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:67)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$collect$1(Rewriter.scala:1584)
at raw.compiler.base.SemanticAnalyzer.collectErrors(SemanticAnalyzer.scala:54)
at raw.compiler.base.SemanticAnalyzer.errors$lzycompute(SemanticAnalyzer.scala:61)
at raw.compiler.base.SemanticAnalyzer.errors(SemanticAnalyzer.scala:60)
at raw.compiler.base.TreeWithPositions.errors$lzycompute(TreeWithPositions.scala:39)
at raw.compiler.base.TreeWithPositions.errors(TreeWithPositions.scala:47)
at raw.compiler.base.TreeWithPositions.isTreeValid(TreeWithPositions.scala:61)
at raw.compiler.base.BaseTree.valid$lzycompute(BaseTree.scala:52)
at raw.compiler.base.BaseTree.valid(BaseTree.scala:52)
at raw.client.rql2.truffle.Rql2TruffleCompilerService.$anonfun$getType$1(Rql2TruffleCompilerService.scala:134)
... 58 more
github-actions / JUnit Test Report
RD10855Test.PostgreSQL.InferAndQuery( "rawtest", "SELECT * FROM rdbmstest.test_types", host = "test-psql.raw-labs.com", username = "rawtest", password = "f55ba92415" )
org.scalatest.exceptions.TestFailedException: null
Raw output
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: null
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
at org.scalatest.funsuite.FixtureAnyFunSuite.newAssertionFailedException(FixtureAnyFunSuite.scala:230)
at org.scalatest.Assertions.fail(Assertions.scala:965)
at org.scalatest.Assertions.fail$(Assertions.scala:961)
at org.scalatest.funsuite.FixtureAnyFunSuite.fail(FixtureAnyFunSuite.scala:230)
at raw.compiler.rql2.tests.CompilerTestContext.doValidate(CompilerTestContext.scala:662)
at raw.compiler.rql2.tests.CompilerTestContext.doValidate$(CompilerTestContext.scala:649)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.doValidate(TruffleCompilerTestContext.scala:18)
at raw.compiler.rql2.tests.CompilerTestContext.tryExecuteQuery(CompilerTestContext.scala:607)
at raw.compiler.rql2.tests.CompilerTestContext.tryExecuteQuery$(CompilerTestContext.scala:595)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.tryExecuteQuery(TruffleCompilerTestContext.scala:18)
at raw.compiler.rql2.tests.CompilerTestContext.executeQuery(CompilerTestContext.scala:589)
at raw.compiler.rql2.tests.CompilerTestContext.executeQuery$(CompilerTestContext.scala:581)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.executeQuery(TruffleCompilerTestContext.scala:18)
at raw.compiler.rql2.tests.CompilerTestContext$EvaluateTo.apply(CompilerTestContext.scala:399)
at raw.compiler.rql2.tests.CompilerTestContext$EvaluateTo.apply(CompilerTestContext.scala:396)
at org.scalatest.matchers.should.Matchers$ShouldMethodHelperClass.shouldMatcher(Matchers.scala:7291)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.should(Matchers.scala:7347)
at raw.compiler.rql2.tests.truffle.regressions.RD10855Test.$anonfun$new$5(RD10855Test.scala:112)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.withFixture(TruffleCompilerTestContext.scala:18)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.org$scalatest$BeforeAndAfterAll$$super$run(TruffleCompilerTestContext.scala:18)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.compiler.rql2.truffle.TruffleCompilerTestContext.run(TruffleCompilerTestContext.scala:18)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: SqlQueryInputFormatDescriptor(pgsql,rawtest,SourceCollectionType(SourceRecordType(Vector(SourceAttrType(smallint1,SourceShortType(true)), SourceAttrType(integer1,SourceIntType(true)), SourceAttrType(bigint1,SourceLongType(true)), SourceAttrType(decimal1,SourceDecimalType(true)), SourceAttrType(real1,SourceFloatType(true)), SourceAttrType(double1,SourceDoubleType(true)), SourceAttrType(money1,SourceDoubleType(true)), SourceAttrType(varchar1,SourceStringType(true)), SourceAttrType(char1,SourceStringType(true)), SourceAttrType(text1,SourceStringType(true)), SourceAttrType(boolean1,SourceBoolType(true)), SourceAttrType(timestamp1,SourceTimestampType(None,true)), SourceAttrType(date1,SourceDateType(None,true)), SourceAttrType(time1,SourceTimeType(None,true)), SourceAttrType(interval1,SourceNullType()), SourceAttrType(bytea1,SourceBinaryType(true)), SourceAttrType(bit1,SourceBoolType(true)), SourceAttrType(integer_array1,SourceNullType()), SourceAttrType(smallserial1,SourceShortType(false)), SourceAttrType(serial1,SourceIntType(false)), SourceAttrType(bigserial1,SourceLongType(false))),false),false)) (of class raw.inferrer.api.SqlQueryInputFormatDescriptor)
at raw.client.rql2.truffle.Rql2TruffleCompilerService.$anonfun$getType$1(Rql2TruffleCompilerService.scala:140)
at raw.client.rql2.truffle.Rql2TruffleCompilerService.withTruffleContext(Rql2TruffleCompilerService.scala:719)
at raw.client.rql2.truffle.Rql2TruffleCompilerService.getType(Rql2TruffleCompilerService.scala:130)
at raw.compiler.rql2.tests.CompilerTestContext.doValidate(CompilerTestContext.scala:656)
... 55 more
Caused by: sbt.ForkMain$ForkError: scala.MatchError: SqlQueryInputFormatDescriptor(pgsql,rawtest,SourceCollectionType(SourceRecordType(Vector(SourceAttrType(smallint1,SourceShortType(true)), SourceAttrType(integer1,SourceIntType(true)), SourceAttrType(bigint1,SourceLongType(true)), SourceAttrType(decimal1,SourceDecimalType(true)), SourceAttrType(real1,SourceFloatType(true)), SourceAttrType(double1,SourceDoubleType(true)), SourceAttrType(money1,SourceDoubleType(true)), SourceAttrType(varchar1,SourceStringType(true)), SourceAttrType(char1,SourceStringType(true)), SourceAttrType(text1,SourceStringType(true)), SourceAttrType(boolean1,SourceBoolType(true)), SourceAttrType(timestamp1,SourceTimestampType(None,true)), SourceAttrType(date1,SourceDateType(None,true)), SourceAttrType(time1,SourceTimeType(None,true)), SourceAttrType(interval1,SourceNullType()), SourceAttrType(bytea1,SourceBinaryType(true)), SourceAttrType(bit1,SourceBoolType(true)), SourceAttrType(integer_array1,SourceNullType()), SourceAttrType(smallserial1,SourceShortType(false)), SourceAttrType(serial1,SourceIntType(false)), SourceAttrType(bigserial1,SourceLongType(false))),false),false)) (of class raw.inferrer.api.SqlQueryInputFormatDescriptor)
at raw.compiler.rql2.builtin.SqlTableExtensionHelper.resolveInferType(SqlTableExtensionHelper.scala:132)
at raw.compiler.rql2.builtin.SqlTableExtensionHelper.resolveInferType$(SqlTableExtensionHelper.scala:122)
at raw.compiler.rql2.builtin.PostgreSQLInferAndQueryEntry.resolveInferType(PostgreSQLPackage.scala:297)
at raw.compiler.rql2.builtin.PostgreSQLInferAndQueryEntry.$anonfun$returnType$5(PostgreSQLPackage.scala:390)
at scala.util.Either.flatMap(Either.scala:341)
at raw.compiler.rql2.builtin.PostgreSQLInferAndQueryEntry.$anonfun$returnType$4(PostgreSQLPackage.scala:389)
at scala.util.Either.flatMap(Either.scala:341)
at raw.compiler.rql2.builtin.PostgreSQLInferAndQueryEntry.returnType(PostgreSQLPackage.scala:388)
at raw.compiler.rql2.api.EntryExtension.returnTypeErrorList(PackageExtension.scala:138)
at raw.compiler.rql2.SemanticAnalyzer.getFunAppPackageEntryType(SemanticAnalyzer.scala:1226)
at raw.compiler.rql2.SemanticAnalyzer.raw$compiler$rql2$SemanticAnalyzer$$funAppHasError(SemanticAnalyzer.scala:641)
at raw.compiler.rql2.SemanticAnalyzer$$anonfun$1.isDefinedAt(SemanticAnalyzer.scala:532)
at raw.compiler.rql2.SemanticAnalyzer$$anonfun$1.isDefinedAt(SemanticAnalyzer.scala:483)
at scala.PartialFunction$OrElse.isDefinedAt(PartialFunction.scala:170)
at raw.compiler.base.SemanticAnalyzer$$anonfun$1.isDefinedAt(SemanticAnalyzer.scala:63)
at raw.compiler.utils.ExtraRewriters$$anonfun$collectNodes$1.applyOrElse(ExtraRewriters.scala:35)
at scala.PartialFunction$AndThen.applyOrElse(PartialFunction.scala:194)
at scala.PartialFunction$AndThen.applyOrElse(PartialFunction.scala:194)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$query$1(Rewriter.scala:215)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:69)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:67)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy.$anonfun$$less$plus$1(Strategy.scala:59)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:33)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:31)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy.$anonfun$$less$times$1(Strategy.scala:44)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:33)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:31)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$allProduct$1(Rewriter.scala:592)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$allProduct$1$adapted(Rewriter.scala:590)
at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
at scala.collection.Iterator.foreach(Iterator.scala:943)
at scala.collection.Iterator.foreach$(Iterator.scala:943)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
at scala.collection.AbstractIterator.foldLeft(Iterator.scala:1431)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.allProduct(Rewriter.scala:590)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.allProduct$(Rewriter.scala:583)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$.allProduct(Rewriter.scala:1643)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$all$1(Rewriter.scala:543)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:69)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:67)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy.$anonfun$$less$times$1(Strategy.scala:45)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:33)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:31)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$allProduct$1(Rewriter.scala:592)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$allProduct$1$adapted(Rewriter.scala:590)
at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:196)
at scala.collection.TraversableOnce$folder$1.apply(TraversableOnce.scala:194)
at scala.collection.Iterator.foreach(Iterator.scala:943)
at scala.collection.Iterator.foreach$(Iterator.scala:943)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:199)
at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:192)
at scala.collection.AbstractIterator.foldLeft(Iterator.scala:1431)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.allProduct(Rewriter.scala:590)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.allProduct$(Rewriter.scala:583)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$.allProduct(Rewriter.scala:1643)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$all$1(Rewriter.scala:543)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:69)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:67)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy.$anonfun$$less$times$1(Strategy.scala:45)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:33)
at org.bitbucket.inkytonik.kiama.rewriting.Strategy$$anon$1.apply(Strategy.scala:31)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:69)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter$$anon$1.apply(Rewriter.scala:67)
at org.bitbucket.inkytonik.kiama.rewriting.Rewriter.$anonfun$collect$1(Rewriter.scala:1584)
at raw.compiler.base.SemanticAnalyzer.collectErrors(SemanticAnalyzer.scala:54)
at raw.compiler.base.SemanticAnalyzer.errors$lzycompute(SemanticAnalyzer.scala:61)
at raw.compiler.base.SemanticAnalyzer.errors(SemanticAnalyzer.scala:60)
at raw.compiler.base.TreeWithPositions.errors$lzycompute(TreeWithPositions.scala:39)
at raw.compiler.base.TreeWithPositions.errors(TreeWithPositions.scala:47)
at raw.compiler.base.TreeWithPositions.isTreeValid(TreeWithPositions.scala:61)
at raw.compiler.base.BaseTree.valid$lzycompute(BaseTree.scala:52)
at raw.compiler.base.BaseTree.valid(BaseTree.scala:52)
at raw.client.rql2.truffle.Rql2TruffleCompilerService.$anonfun$getType$1(Rql2TruffleCompilerService.scala:134)
... 58 more
Loading