Skip to content

Commit

Permalink
Fix release tests for semantic_text (#116202)
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanatia authored and jozala committed Nov 13, 2024
1 parent d6ca8a0 commit 39a4694
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 39a4694

Please sign in to comment.