Skip to content

Commit 9ac0446

Browse files
committed
Revert "Move"
This reverts commit 09c515e.
1 parent c8964a0 commit 9ac0446

File tree

18 files changed

+26
-33
lines changed

18 files changed

+26
-33
lines changed

x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/Attribute.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
package org.elasticsearch.xpack.esql.core.expression;
88

99
import org.elasticsearch.core.Nullable;
10-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
1110
import org.elasticsearch.xpack.esql.core.tree.Source;
1211
import org.elasticsearch.xpack.esql.core.type.DataType;
1312

@@ -140,9 +139,12 @@ public String nodeString() {
140139
protected abstract String label();
141140

142141
/**
143-
* The description of this column in the HTTP response.
142+
* If this field is unsupported this contains the underlying ES types. If there
143+
* is a type conflict this will have many elements, some or all of which may
144+
* be actually supported types.
144145
*/
145-
public ColumnInfoImpl columnInfo() {
146-
return new ColumnInfoImpl(name(), dataType().outputType(), null);
146+
@Nullable
147+
public List<String> originalTypes() {
148+
return null;
147149
}
148150
}

x-pack/plugin/esql/qa/action/src/internalClusterTest/java/org/elasticsearch/test/esql/qa/action/CoreEsqlActionIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import org.elasticsearch.xpack.core.esql.action.EsqlQueryRequestBuilder;
2020
import org.elasticsearch.xpack.core.esql.action.EsqlQueryResponse;
2121
import org.elasticsearch.xpack.core.esql.action.EsqlResponse;
22-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
22+
import org.elasticsearch.xpack.esql.action.ColumnInfoImpl;
2323
import org.elasticsearch.xpack.esql.core.type.DataType;
2424
import org.junit.Before;
2525

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import org.elasticsearch.xpack.core.async.DeleteAsyncResultRequest;
2121
import org.elasticsearch.xpack.core.async.GetAsyncResultRequest;
2222
import org.elasticsearch.xpack.core.async.TransportDeleteAsyncResultAction;
23-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
2423
import org.elasticsearch.xpack.esql.plugin.QueryPragmas;
2524
import org.hamcrest.core.IsEqual;
2625

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import org.elasticsearch.transport.RemoteClusterAware;
1616
import org.elasticsearch.xpack.core.async.AsyncExecutionId;
1717
import org.elasticsearch.xpack.core.async.AsyncStopRequest;
18-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
1918

2019
import java.io.IOException;
2120
import java.util.Map;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.elasticsearch.core.Tuple;
1313
import org.elasticsearch.plugins.Plugin;
1414
import org.elasticsearch.transport.RemoteClusterAware;
15-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
1615
import org.elasticsearch.xpack.esql.core.type.DataType;
1716
import org.elasticsearch.xpack.esql.plan.logical.Enrich;
1817

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
import org.elasticsearch.ExceptionsHelper;
1111
import org.elasticsearch.core.Tuple;
12-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
1312
import org.elasticsearch.xpack.esql.core.type.DataType;
1413

1514
import java.util.List;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
import org.elasticsearch.xpack.core.enrich.action.PutEnrichPolicyAction;
4848
import org.elasticsearch.xpack.enrich.EnrichPlugin;
4949
import org.elasticsearch.xpack.esql.EsqlTestUtils;
50-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
5150
import org.elasticsearch.xpack.esql.core.type.DataType;
5251
import org.elasticsearch.xpack.esql.enrich.EnrichLookupService;
5352
import org.elasticsearch.xpack.esql.plan.logical.Enrich;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import org.elasticsearch.xcontent.json.JsonXContent;
3535
import org.elasticsearch.xpack.core.esql.action.ColumnInfo;
3636
import org.elasticsearch.xpack.esql.VerificationException;
37-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
3837
import org.elasticsearch.xpack.esql.core.type.DataType;
3938
import org.elasticsearch.xpack.esql.parser.ParsingException;
4039
import org.elasticsearch.xpack.esql.plugin.EsqlPlugin;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import org.elasticsearch.common.settings.Settings;
1414
import org.elasticsearch.core.TimeValue;
1515
import org.elasticsearch.xpack.esql.EsqlTestUtils;
16-
import org.elasticsearch.xpack.esql.core.ColumnInfoImpl;
1716
import org.elasticsearch.xpack.esql.core.type.DataType;
1817
import org.junit.Before;
1918

x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/ColumnInfoImpl.java renamed to x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/ColumnInfoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* 2.0.
66
*/
77

8-
package org.elasticsearch.xpack.esql.core;
8+
package org.elasticsearch.xpack.esql.action;
99

1010
import org.elasticsearch.TransportVersions;
1111
import org.elasticsearch.common.io.stream.StreamInput;

0 commit comments

Comments
 (0)