Skip to content

Commit eef2ba4

Browse files
authored
Fix release tests for semantic_text (#116202)
1 parent 577f324 commit eef2ba4

File tree

1 file changed

+1
-4
lines changed
  • x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type

1 file changed

+1
-4
lines changed

x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,7 @@ public static boolean isUnsupported(DataType from) {
370370
}
371371

372372
public static boolean isString(DataType t) {
373-
if (EsqlCorePlugin.SEMANTIC_TEXT_FEATURE_FLAG.isEnabled() && t == SEMANTIC_TEXT) {
374-
return true;
375-
}
376-
return t == KEYWORD || t == TEXT;
373+
return t == KEYWORD || t == TEXT || t == SEMANTIC_TEXT;
377374
}
378375

379376
public static boolean isPrimitiveAndSupported(DataType t) {

0 commit comments

Comments
 (0)