Skip to content

Commit 61e6e35

Browse files
committed
SEMANTIC_TEXT Still exists on 9.0 as a zombie type
1 parent 03723bd commit 61e6e35

File tree

2 files changed

+4
-0
lines changed
  • x-pack/plugin/esql/src

2 files changed

+4
-0
lines changed

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/LookupJoinTypesIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
import static org.elasticsearch.xpack.esql.core.type.DataType.LONG;
5151
import static org.elasticsearch.xpack.esql.core.type.DataType.NULL;
5252
import static org.elasticsearch.xpack.esql.core.type.DataType.SCALED_FLOAT;
53+
import static org.elasticsearch.xpack.esql.core.type.DataType.SEMANTIC_TEXT;
5354
import static org.elasticsearch.xpack.esql.core.type.DataType.SHORT;
5455
import static org.elasticsearch.xpack.esql.core.type.DataType.TEXT;
5556
import static org.elasticsearch.xpack.esql.core.type.DataType.TSID_DATA_TYPE;
@@ -184,6 +185,7 @@ protected Collection<Class<? extends Plugin>> nodePlugins() {
184185
|| type == DOC_DATA_TYPE
185186
|| type == TSID_DATA_TYPE
186187
|| type == AGGREGATE_METRIC_DOUBLE
188+
|| type == SEMANTIC_TEXT
187189
|| type.esType() == null
188190
|| type.isCounter()
189191
|| DataType.isRepresentable(type) == false) {

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/join/Join.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
import static org.elasticsearch.xpack.esql.core.type.DataType.NULL;
4646
import static org.elasticsearch.xpack.esql.core.type.DataType.OBJECT;
4747
import static org.elasticsearch.xpack.esql.core.type.DataType.PARTIAL_AGG;
48+
import static org.elasticsearch.xpack.esql.core.type.DataType.SEMANTIC_TEXT;
4849
import static org.elasticsearch.xpack.esql.core.type.DataType.SOURCE;
4950
import static org.elasticsearch.xpack.esql.core.type.DataType.TEXT;
5051
import static org.elasticsearch.xpack.esql.core.type.DataType.TIME_DURATION;
@@ -78,6 +79,7 @@ public class Join extends BinaryPlan implements PostAnalysisVerificationAware, S
7879
DOC_DATA_TYPE,
7980
TSID_DATA_TYPE,
8081
PARTIAL_AGG,
82+
SEMANTIC_TEXT,
8183
AGGREGATE_METRIC_DOUBLE };
8284

8385
private final JoinConfig config;

0 commit comments

Comments
 (0)