Skip to content

Commit 74c8a9d

Browse files
committed
avoid forbidden lore
1 parent 2145a40 commit 74c8a9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import org.elasticsearch.xpack.esql.plan.logical.Limit;
1717
import org.elasticsearch.xpack.esql.plan.logical.Project;
1818

19+
import java.util.Locale;
20+
1921
import static org.elasticsearch.xpack.esql.EsqlTestUtils.as;
2022
import static org.hamcrest.Matchers.containsString;
2123
import static org.hamcrest.Matchers.equalTo;
@@ -140,7 +142,7 @@ public void testLimitsWithinRemoteEnrichTwice() {
140142
// These cases do not get hoisting, and it's ok
141143
public void testLimitWithinOtherEnrich() {
142144
String enrichPolicy = randomFrom("languages_idx", "_any:languages_idx", "_coordinator:languages_coordinator");
143-
var plan = plan(String.format("""
145+
var plan = plan(String.format(Locale.ROOT, """
144146
from test
145147
| EVAL id = emp_no
146148
| LIMIT 10

0 commit comments

Comments
 (0)