Skip to content

Commit 2f2c354

Browse files
committed
Lint
1 parent 3e88a16 commit 2f2c354

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/AbstractStatementParserTests.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ LogicalPlan processingCommand(String e) {
7474
}
7575

7676
LogicalPlan processingCommand(String e, QueryParams params, Settings settings) {
77-
return parser.createStatement("row a = 1 | " + e, params, new PlanTelemetry(new EsqlFunctionRegistry()), new InferenceSettings(settings));
77+
return parser.parseQuery(
78+
"row a = 1 | " + e,
79+
params,
80+
new PlanTelemetry(new EsqlFunctionRegistry()),
81+
new InferenceSettings(settings)
82+
);
7883
}
7984

8085
static UnresolvedAttribute attribute(String name) {

0 commit comments

Comments
 (0)