Skip to content

Commit 31e8682

Browse files
committed
Stop using deprecated c'tor in test
1 parent bc1a6ec commit 31e8682

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/JoinSerializationTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ protected Join createTestInstance() {
3131

3232
private static JoinConfig randomJoinConfig() {
3333
JoinType type = randomFrom(JoinTypes.LEFT, JoinTypes.RIGHT, JoinTypes.INNER, JoinTypes.FULL, JoinTypes.CROSS);
34-
List<Attribute> matchFields = randomFieldAttributes(1, 10, false);
3534
List<Attribute> leftFields = randomFieldAttributes(1, 10, false);
3635
List<Attribute> rightFields = randomFieldAttributes(1, 10, false);
37-
return new JoinConfig(type, matchFields, leftFields, rightFields, randomJoinOnExpression());
36+
return new JoinConfig(type, leftFields, rightFields, randomJoinOnExpression());
3837
}
3938

4039
@Override

0 commit comments

Comments
 (0)