Fixing issues with multi level unnesting in extract implementation an… #3851
75 tests run, 0 skipped, 48 failed.
Annotations
github-actions / FHIR server test report 1
AggregateQueryExecutorTest.simpleQueryWithLabels
array contents differ at index [0], expected: <patient_gender> but was: <@plx84w>
Raw output
org.opentest4j.AssertionFailedError: array contents differ at index [0], expected: <patient_gender> but was: <@plx84w>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertArrayEquals.failArraysNotEqual(AssertArrayEquals.java:440)
at org.junit.jupiter.api.AssertArrayEquals.assertArrayElementsEqual(AssertArrayEquals.java:389)
at org.junit.jupiter.api.AssertArrayEquals.assertArrayEquals(AssertArrayEquals.java:346)
at org.junit.jupiter.api.AssertArrayEquals.assertArrayEquals(AssertArrayEquals.java:159)
at org.junit.jupiter.api.AssertArrayEquals.assertArrayEquals(AssertArrayEquals.java:155)
at org.junit.jupiter.api.Assertions.assertArrayEquals(Assertions.java:1456)
at au.csiro.pathling.aggregate.AggregateQueryExecutorTest.simpleQueryWithLabels(AggregateQueryExecutorTest.java:99)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryMultipleGroupingCounts
parameter[]: Expected 11 values but got 9
Raw output
java.lang.AssertionError: parameter[]: Expected 11 values but got 9
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryMultipleGroupingCounts(AggregateQueryTest.java:229)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithLargeScaleDecimalResult
class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.math.BigDecimal (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.math.BigDecimal is in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.math.BigDecimal (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.math.BigDecimal is in module java.base of loader 'bootstrap')
at org.apache.spark.sql.Row.getDecimal(Row.scala:284)
at org.apache.spark.sql.Row.getDecimal$(Row.scala:284)
at org.apache.spark.sql.catalyst.expressions.GenericRow.getDecimal(rows.scala:27)
at au.csiro.pathling.fhirpath.collection.DecimalCollection.getFhirValueFromRow(DecimalCollection.java:203)
at au.csiro.pathling.aggregate.AggregateExecutor.lambda$mapRowToGrouping$0(AggregateExecutor.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at au.csiro.pathling.aggregate.AggregateExecutor.buildResponse(AggregateExecutor.java:100)
at au.csiro.pathling.aggregate.AggregateExecutor.execute(AggregateExecutor.java:80)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithLargeScaleDecimalResult(AggregateQueryTest.java:573)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithWhereInAggregation
parameter[]: Expected 6 values but got 10
Raw output
java.lang.AssertionError: parameter[]: Expected 6 values but got 10
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithWhereInAggregation(AggregateQueryTest.java:383)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithNonSingularWhereFollowedByCount
parameter[name=grouping].part[]: Expected 2 values but got 1
Raw output
java.lang.AssertionError: parameter[name=grouping].part[]: Expected 2 values but got 1
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithNonSingularWhereFollowedByCount(AggregateQueryTest.java:509)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithNestedAggregation
class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.lang.Integer (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.lang.Integer is in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.lang.Integer (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.lang.Integer is in module java.base of loader 'bootstrap')
at scala.runtime.BoxesRunTime.unboxToInt(BoxesRunTime.java:103)
at org.apache.spark.sql.Row.getInt(Row.scala:245)
at org.apache.spark.sql.Row.getInt$(Row.scala:245)
at org.apache.spark.sql.catalyst.expressions.GenericRow.getInt(rows.scala:27)
at au.csiro.pathling.fhirpath.collection.IntegerCollection.getFhirValueFromRow(IntegerCollection.java:172)
at au.csiro.pathling.aggregate.AggregateExecutor.lambda$mapRowToGrouping$0(AggregateExecutor.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at au.csiro.pathling.aggregate.AggregateExecutor.buildResponse(AggregateExecutor.java:100)
at au.csiro.pathling.aggregate.AggregateExecutor.execute(AggregateExecutor.java:80)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithNestedAggregation(AggregateQueryTest.java:397)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithCombineResultInSecondFilter
parameter[name=grouping].part[]: Expected 2 values but got 1
Raw output
java.lang.AssertionError: parameter[name=grouping].part[]: Expected 2 values but got 1
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithCombineResultInSecondFilter(AggregateQueryTest.java:604)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.simpleQuery
parameter[0] Could not find match for element {"part":[{"name":"label","valueCode":"female"},{"name":"result","valueUnsignedInt":4},{"valueString":"(gender) = 'female'","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"name":"label","valueCode":"female"},{"name":"result","valueUnsignedInt":4},{"valueString":"(gender) = 'female'","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.simpleQuery(AggregateQueryTest.java:58)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithReverseResolveAndCounts
parameter[0] Could not find match for element {"part":[{"name":"label","valueUnsignedInt":8},{"name":"result","valueUnsignedInt":3},{"valueString":"(reverseResolve(Condition.subject).code.coding.count()) = 8","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"name":"label","valueUnsignedInt":8},{"name":"result","valueUnsignedInt":3},{"valueString":"(reverseResolve(Condition.subject).code.coding.count()) = 8","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithReverseResolveAndCounts(AggregateQueryTest.java:212)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithIntegerGroupings
parameter[0] Could not find match for element {"part":[{"name":"label","valuePositiveInt":1},{"name":"result","valueUnsignedInt":268},{"valueString":"(item.sequence) contains 1","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"name":"label","valuePositiveInt":1},{"name":"result","valueUnsignedInt":268},{"valueString":"(item.sequence) contains 1","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithIntegerGroupings(AggregateQueryTest.java:108)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithWhereAsComparisonOperand
parameter[0] Could not find match for element {"part":[{"valueBoolean":true,"name":"label"},{"name":"result","valueUnsignedInt":4},{"valueString":"reverseResolve(MedicationRequest.subject).where($this.medicationCodeableConcept.coding.where($this.system = 'http://www.nlm.nih.gov/research/umls/rxnorm').code contains '313782' and $this.authoredOn < @2019-06-21).count() > 0","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"valueBoolean":true,"name":"label"},{"name":"result","valueUnsignedInt":4},{"valueString":"reverseResolve(MedicationRequest.subject).where($this.medicationCodeableConcept.coding.where($this.system = 'http://www.nlm.nih.gov/research/umls/rxnorm').code contains '313782' and $this.authoredOn < @2019-06-21).count() > 0","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithWhereAsComparisonOperand(AggregateQueryTest.java:318)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithAmbiguousSelfJoin
parameter[0] Could not find match for element {"part":[{"name":"label","valueCode":"stopped"},{"name":"result","valueUnsignedInt":28},{"valueString":"((status) = 'stopped') and (authoredOn < @2018 and authoredOn > @2000)","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"name":"label","valueCode":"stopped"},{"name":"result","valueUnsignedInt":28},{"valueString":"((status) = 'stopped') and (authoredOn < @2018 and authoredOn > @2000)","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithAmbiguousSelfJoin(AggregateQueryTest.java:335)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryMultipleCountAggregations
parameter[0] Could not find match for element {"part":[{"name":"label","valueCode":"female"},{"name":"result","valueUnsignedInt":5},{"name":"result","valueUnsignedInt":5},{"valueString":"(gender) = 'female'","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"name":"label","valueCode":"female"},{"name":"result","valueUnsignedInt":5},{"name":"result","valueUnsignedInt":5},{"valueString":"(gender) = 'female'","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryMultipleCountAggregations(AggregateQueryTest.java:245)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithUriValueInGrouping
parameter[0] Could not find match for element {"part":[{"name":"label"},{"name":"result","valueUnsignedInt":154},{"valueString":"(reverseResolve(Condition.encounter).code.coding.system).empty()","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"name":"label"},{"name":"result","valueUnsignedInt":154},{"valueString":"(reverseResolve(Condition.encounter).code.coding.system).empty()","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithUriValueInGrouping(AggregateQueryTest.java:427)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithWhereAndMembership
parameter[name=grouping].part[]: Expected 3 values but got 2
Raw output
java.lang.AssertionError: parameter[name=grouping].part[]: Expected 3 values but got 2
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithWhereAndMembership(AggregateQueryTest.java:351)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithLiteralAggregation
class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.lang.Boolean (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.lang.Boolean is in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.lang.Boolean (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.lang.Boolean is in module java.base of loader 'bootstrap')
at scala.runtime.BoxesRunTime.unboxToBoolean(BoxesRunTime.java:87)
at org.apache.spark.sql.Row.getBoolean(Row.scala:221)
at org.apache.spark.sql.Row.getBoolean$(Row.scala:221)
at org.apache.spark.sql.catalyst.expressions.GenericRow.getBoolean(rows.scala:27)
at au.csiro.pathling.fhirpath.collection.BooleanCollection.getFhirValueFromRow(BooleanCollection.java:117)
at au.csiro.pathling.aggregate.AggregateExecutor.lambda$mapRowToGrouping$0(AggregateExecutor.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at au.csiro.pathling.aggregate.AggregateExecutor.buildResponse(AggregateExecutor.java:100)
at au.csiro.pathling.aggregate.AggregateExecutor.execute(AggregateExecutor.java:80)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithLiteralAggregation(AggregateQueryTest.java:462)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithMultipleGroupingsAndMembership
parameter[0] Could not find match for element {"part":[{"valueBoolean":false,"name":"label"},{"valueBoolean":false,"name":"label"},{"name":"result","valueUnsignedInt":8},{"valueString":"((name.prefix contains 'Mrs.') = false) and ((name.given contains 'Karina848') = false)","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"valueBoolean":false,"name":"label"},{"valueBoolean":false,"name":"label"},{"name":"result","valueUnsignedInt":8},{"valueString":"((name.prefix contains 'Mrs.') = false) and ((name.given contains 'Karina848') = false)","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithMultipleGroupingsAndMembership(AggregateQueryTest.java:494)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithComparisonInAggregation
class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.lang.Boolean (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.lang.Boolean is in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.lang.Boolean (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.lang.Boolean is in module java.base of loader 'bootstrap')
at scala.runtime.BoxesRunTime.unboxToBoolean(BoxesRunTime.java:87)
at org.apache.spark.sql.Row.getBoolean(Row.scala:221)
at org.apache.spark.sql.Row.getBoolean$(Row.scala:221)
at org.apache.spark.sql.catalyst.expressions.GenericRow.getBoolean(rows.scala:27)
at au.csiro.pathling.fhirpath.collection.BooleanCollection.getFhirValueFromRow(BooleanCollection.java:117)
at au.csiro.pathling.aggregate.AggregateExecutor.lambda$mapRowToGrouping$0(AggregateExecutor.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at au.csiro.pathling.aggregate.AggregateExecutor.buildResponse(AggregateExecutor.java:100)
at au.csiro.pathling.aggregate.AggregateExecutor.execute(AggregateExecutor.java:80)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithComparisonInAggregation(AggregateQueryTest.java:444)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithReverseResolve
parameter[0] Could not find match for element {"part":[{"valueString":"Acute viral pharyngitis (disorder)","name":"label"},{"name":"result","valueUnsignedInt":4},{"valueString":"(reverseResolve(Condition.subject).code.coding.display) contains 'Acute viral pharyngitis (disorder)'","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"valueString":"Acute viral pharyngitis (disorder)","name":"label"},{"name":"result","valueUnsignedInt":4},{"valueString":"(reverseResolve(Condition.subject).code.coding.display) contains 'Acute viral pharyngitis (disorder)'","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithReverseResolve(AggregateQueryTest.java:197)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithNonSingularBooleanGrouping
parameter[0] Could not find match for element {"part":[{"valueBoolean":false,"name":"label"},{"name":"result","valueUnsignedInt":9},{"valueString":"(reverseResolve(Condition.subject).code.subsumedBy(http://snomed.info/sct|284551006)) contains false","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"valueBoolean":false,"name":"label"},{"name":"result","valueUnsignedInt":9},{"valueString":"(reverseResolve(Condition.subject).code.subsumedBy(http://snomed.info/sct|284551006)) contains false","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithNonSingularBooleanGrouping(AggregateQueryTest.java:532)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithMemberOf
parameter[0] Could not find match for element {"part":[{"valueBoolean":false,"name":"label"},{"name":"result","valueUnsignedInt":9},{"valueString":"(reverseResolve(Condition.subject).code.memberOf('http://snomed.info/sct?fhir_vs=refset/32570521000036109')) contains false","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"valueBoolean":false,"name":"label"},{"name":"result","valueUnsignedInt":9},{"valueString":"(reverseResolve(Condition.subject).code.memberOf('http://snomed.info/sct?fhir_vs=refset/32570521000036109')) contains false","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithMemberOf(AggregateQueryTest.java:286)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithDateComparison
parameter[name=grouping].part[]: Expected 2 values but got 1
Raw output
java.lang.AssertionError: parameter[name=grouping].part[]: Expected 2 values but got 1
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithDateComparison(AggregateQueryTest.java:153)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithPolymorphicResolve
parameter[0] Could not find match for element {"part":[{"name":"label","valueCode":"male"},{"name":"result","valueUnsignedInt":39},{"valueString":"(subject.resolve().ofType(Patient).gender) = 'male'","name":"drillDown"}],"name":"grouping"}
Raw output
java.lang.AssertionError: parameter[0] Could not find match for element {"part":[{"name":"label","valueCode":"male"},{"name":"result","valueUnsignedInt":39},{"valueString":"(subject.resolve().ofType(Patient).gender) = 'male'","name":"drillDown"}],"name":"grouping"}
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithPolymorphicResolve(AggregateQueryTest.java:182)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithChoiceElement
parameter[name=grouping].part[]: Expected 3 values but got 2
Raw output
java.lang.AssertionError: parameter[name=grouping].part[]: Expected 3 values but got 2
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:65)
at au.csiro.pathling.test.TestResources.assertJson(TestResources.java:81)
at au.csiro.pathling.aggregate.AggregateExecutorTest.assertResponse(AggregateExecutorTest.java:122)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithChoiceElement(AggregateQueryTest.java:138)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / FHIR server test report 1
AggregateQueryTest.queryWithMultipleTrivialAggregations
class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.lang.Boolean (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.lang.Boolean is in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class scala.collection.mutable.WrappedArray$ofRef cannot be cast to class java.lang.Boolean (scala.collection.mutable.WrappedArray$ofRef is in unnamed module of loader 'app'; java.lang.Boolean is in module java.base of loader 'bootstrap')
at scala.runtime.BoxesRunTime.unboxToBoolean(BoxesRunTime.java:87)
at org.apache.spark.sql.Row.getBoolean(Row.scala:221)
at org.apache.spark.sql.Row.getBoolean$(Row.scala:221)
at org.apache.spark.sql.catalyst.expressions.GenericRow.getBoolean(rows.scala:27)
at au.csiro.pathling.fhirpath.collection.BooleanCollection.getFhirValueFromRow(BooleanCollection.java:117)
at au.csiro.pathling.aggregate.AggregateExecutor.lambda$mapRowToGrouping$0(AggregateExecutor.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at au.csiro.pathling.aggregate.AggregateExecutor.buildResponse(AggregateExecutor.java:100)
at au.csiro.pathling.aggregate.AggregateExecutor.execute(AggregateExecutor.java:80)
at au.csiro.pathling.aggregate.AggregateQueryTest.queryWithMultipleTrivialAggregations(AggregateQueryTest.java:618)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)