Skip to content

Commit c15df0a

Browse files
Address a missed comment
1 parent 03796e0 commit c15df0a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -832,11 +832,12 @@ public void testPushDownFilterPastTwoLookupJoins() {
832832

833833
private Join createLeftJoin() {
834834
FieldAttribute a = getFieldAttribute("a");
835+
FieldAttribute b = getFieldAttribute("b");
835836
FieldAttribute c = getFieldAttribute("c");
836-
EsRelation left = relation(List.of(a, getFieldAttribute("b")));
837-
EsRelation right = relation(List.of(c));
837+
EsRelation left = relation(List.of(a, b));
838+
EsRelation right = relation(List.of(c, b));
838839

839-
JoinConfig joinConfig = new JoinConfig(JoinTypes.LEFT, List.of(a), List.of(a), List.of(c));
840+
JoinConfig joinConfig = new JoinConfig(JoinTypes.LEFT, List.of(b), List.of(a, b), List.of(b, c));
840841
return new Join(EMPTY, left, right, joinConfig);
841842
}
842843
}

0 commit comments

Comments
 (0)