File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1414import org .elasticsearch .xpack .esql .core .expression .Expressions ;
1515import org .elasticsearch .xpack .esql .core .expression .NamedExpression ;
1616import org .elasticsearch .xpack .esql .core .tree .NodeInfo ;
17+ import org .elasticsearch .xpack .esql .core .tree .NodeUtils ;
1718import org .elasticsearch .xpack .esql .core .tree .Source ;
1819import org .elasticsearch .xpack .esql .expression .function .Functions ;
1920import org .elasticsearch .xpack .esql .io .stream .PlanStreamInput ;
@@ -103,7 +104,11 @@ public boolean equals(Object obj) {
103104 }
104105
105106 Project other = (Project ) obj ;
106-
107107 return Objects .equals (projections , other .projections ) && Objects .equals (child (), other .child ());
108108 }
109+
110+ @ Override
111+ public String nodeString () {
112+ return nodeName () + "[projections=" + NodeUtils .limitedToString (projections ) + "]" ;
113+ }
109114}
Original file line number Diff line number Diff line change 1313import org .elasticsearch .xpack .esql .core .expression .Attribute ;
1414import org .elasticsearch .xpack .esql .core .expression .AttributeSet ;
1515import org .elasticsearch .xpack .esql .core .tree .NodeInfo ;
16+ import org .elasticsearch .xpack .esql .core .tree .NodeUtils ;
1617import org .elasticsearch .xpack .esql .core .tree .Source ;
1718import org .elasticsearch .xpack .esql .io .stream .PlanStreamInput ;
1819
@@ -102,4 +103,9 @@ public boolean equals(Object obj) {
102103 public int hashCode () {
103104 return Objects .hash (super .hashCode (), output , inBetweenAggs );
104105 }
106+
107+ @ Override
108+ public String nodeString () {
109+ return nodeName () + "[output=" + NodeUtils .limitedToString (output ) + ", inBetweenAggs=" + inBetweenAggs + "]" ;
110+ }
105111}
You can’t perform that action at this time.
0 commit comments