Skip to content

Commit

Permalink
Fix release tests for semantic_text (elastic#116202)
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanatia authored Nov 5, 2024
1 parent 577f324 commit eef2ba4
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,7 @@ public static boolean isUnsupported(DataType from) {
}

public static boolean isString(DataType t) {
if (EsqlCorePlugin.SEMANTIC_TEXT_FEATURE_FLAG.isEnabled() && t == SEMANTIC_TEXT) {
return true;
}
return t == KEYWORD || t == TEXT;
return t == KEYWORD || t == TEXT || t == SEMANTIC_TEXT;
}

public static boolean isPrimitiveAndSupported(DataType t) {
Expand Down

0 comments on commit eef2ba4

Please sign in to comment.