From 606a95ad6b67af1818b9bcf9f894bafa8da91cc0 Mon Sep 17 00:00:00 2001 From: chenjian2664 Date: Wed, 15 Nov 2023 10:57:47 +0800 Subject: [PATCH] Remove unnecessary override method in PhoenixMetadata --- .../java/io/trino/plugin/phoenix5/PhoenixMetadata.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixMetadata.java b/plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixMetadata.java index ad1a46be5970..703151ad6975 100644 --- a/plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixMetadata.java +++ b/plugin/trino-phoenix5/src/main/java/io/trino/plugin/phoenix5/PhoenixMetadata.java @@ -41,7 +41,6 @@ import io.trino.spi.connector.ConnectorTableSchema; import io.trino.spi.connector.LocalProperty; import io.trino.spi.connector.RetryMode; -import io.trino.spi.connector.RowChangeParadigm; import io.trino.spi.connector.SchemaTableName; import io.trino.spi.connector.SortingProperty; import io.trino.spi.expression.Constant; @@ -68,7 +67,6 @@ import static io.trino.plugin.phoenix5.PhoenixErrorCode.PHOENIX_METADATA_ERROR; import static io.trino.spi.StandardErrorCode.NOT_SUPPORTED; import static io.trino.spi.connector.RetryMode.NO_RETRIES; -import static io.trino.spi.connector.RowChangeParadigm.CHANGE_ONLY_UPDATED_COLUMNS; import static java.lang.String.format; import static java.util.Objects.requireNonNull; import static org.apache.phoenix.util.SchemaUtil.getEscapedArgument; @@ -287,12 +285,6 @@ public void dropTable(ConnectorSession session, ConnectorTableHandle tableHandle phoenixClient.dropTable(session, (JdbcTableHandle) tableHandle); } - @Override - public RowChangeParadigm getRowChangeParadigm(ConnectorSession session, ConnectorTableHandle tableHandle) - { - return CHANGE_ONLY_UPDATED_COLUMNS; - } - @Override public JdbcColumnHandle getMergeRowIdColumnHandle(ConnectorSession session, ConnectorTableHandle tableHandle) {