Skip to content

Commit c559511

Browse files
committed
Add deprecation for synchronous execute method in the RuleExecutor
1 parent 40ab549 commit c559511

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/rule/RuleExecutor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ public Map<Batch<TreeType>, List<Transformation>> transformations() {
138138
}
139139
}
140140

141+
142+
@Deprecated(forRemoval = true)
141143
protected final TreeType execute(TreeType plan) {
142144
// TODO: remove when all implementinc classes are using the async version.
143145
PlainActionFuture<ExecutionInfo> executionInfoFuture = new PlainActionFuture<>();

0 commit comments

Comments
 (0)