diff --git a/plugin/trino-elasticsearch/src/main/java/io/trino/plugin/elasticsearch/ElasticsearchSplit.java b/plugin/trino-elasticsearch/src/main/java/io/trino/plugin/elasticsearch/ElasticsearchSplit.java index 2f920325ded8..a328491cfa72 100644 --- a/plugin/trino-elasticsearch/src/main/java/io/trino/plugin/elasticsearch/ElasticsearchSplit.java +++ b/plugin/trino-elasticsearch/src/main/java/io/trino/plugin/elasticsearch/ElasticsearchSplit.java @@ -43,7 +43,7 @@ public record ElasticsearchSplit( requireNonNull(address, "address is null"); } - @JsonIgnore + @JsonIgnore // TODO remove after https://github.com/airlift/airlift/pull/1141 @Override public List getAddresses() { @@ -51,7 +51,7 @@ public List getAddresses() .orElseGet(ImmutableList::of); } - @JsonIgnore + @JsonIgnore // TODO remove after https://github.com/airlift/airlift/pull/1141 @Override public Map getSplitInfo() { @@ -61,7 +61,7 @@ public Map getSplitInfo() .buildOrThrow(); } - @JsonIgnore + @JsonIgnore // TODO remove after https://github.com/airlift/airlift/pull/1141 @Override public long getRetainedSizeInBytes() { diff --git a/plugin/trino-opensearch/src/main/java/io/trino/plugin/opensearch/OpenSearchSplit.java b/plugin/trino-opensearch/src/main/java/io/trino/plugin/opensearch/OpenSearchSplit.java index dc9522f15cb5..0d76066fce28 100644 --- a/plugin/trino-opensearch/src/main/java/io/trino/plugin/opensearch/OpenSearchSplit.java +++ b/plugin/trino-opensearch/src/main/java/io/trino/plugin/opensearch/OpenSearchSplit.java @@ -43,7 +43,7 @@ public record OpenSearchSplit( requireNonNull(address, "address is null"); } - @JsonIgnore + @JsonIgnore // TODO remove after https://github.com/airlift/airlift/pull/1141 @Override public List getAddresses() { @@ -51,14 +51,14 @@ public List getAddresses() .orElseGet(ImmutableList::of); } - @JsonIgnore + @JsonIgnore // TODO remove after https://github.com/airlift/airlift/pull/1141 @Override public Map getSplitInfo() { return ImmutableMap.of("index", index, "shard", String.valueOf(shard), "address", address.orElse("")); } - @JsonIgnore + @JsonIgnore // TODO remove after https://github.com/airlift/airlift/pull/1141 @Override public long getRetainedSizeInBytes() {