Skip to content

[CI] NodeSubclassTests#testReplaceChildren fails for Pivot #48900

@matriv

Description

@matriv

https://gradle-enterprise.elastic.co/s/xyvdtf72vwxka/tests/ihtizrmlhavwa-jrtvjtda2so76

Reproduce (7.x) with:

./gradlew ':x-pack:plugin:sql:test' --tests "org.elasticsearch.xpack.sql.tree.NodeSubclassTests" -Dtests.method="testReplaceChildren {p0=class org.elasticsearch.xpack.sql.plan.logical.Pivot}" -Dtests.seed=6B69CBC6A6A01FE4 -Dtests.security.manager=true -Dtests.locale=th-TH -Dtests.timezone=Pacific/Easter -Dcompiler.java=12 -Druntime.java=8

Stacktrace:


org.elasticsearch.xpack.sql.tree.NodeSubclassTests > testReplaceChildren {p0=class org.elasticsearch.xpack.sql.plan.logical.Pivot} FAILED
--
UnresolvedException[Invalid call to dataType on an unresolved object ?rxWgKl.EFhUf]
at __randomizedtesting.SeedInfo.seed([6B69CBC6A6A01FE4:5296688B5FA63F1A]:0)
at org.elasticsearch.xpack.sql.expression.UnresolvedAttribute.dataType(UnresolvedAttribute.java:79)
at org.elasticsearch.xpack.sql.expression.Attribute.withQualifier(Attribute.java:95)
at org.elasticsearch.xpack.sql.plan.logical.Pivot.withQualifierNull(Pivot.java:47)
at org.elasticsearch.xpack.sql.tree.Node.transformUp(Node.java:190)
at org.elasticsearch.xpack.sql.tree.Node.lambda$transformUp$10(Node.java:188)
at org.elasticsearch.xpack.sql.tree.Node.transformChildren(Node.java:209)
at org.elasticsearch.xpack.sql.tree.Node.transformUp(Node.java:188)
at org.elasticsearch.xpack.sql.plan.logical.Pivot.lambda$replaceChild$0(Pivot.java:70)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.elasticsearch.xpack.sql.plan.logical.Pivot.replaceChild(Pivot.java:71)
at org.elasticsearch.xpack.sql.plan.logical.Pivot.replaceChild(Pivot.java:27)
at org.elasticsearch.xpack.sql.plan.logical.UnaryPlan.replaceChildren(UnaryPlan.java:33)
at org.elasticsearch.xpack.sql.plan.logical.UnaryPlan.replaceChildren(UnaryPlan.java:19)
at org.elasticsearch.xpack.sql.tree.NodeSubclassTests.testReplaceChildren(NodeSubclassTests.java:234)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions