diff --git a/velox/connectors/hive/iceberg/IcebergDataSink.h b/velox/connectors/hive/iceberg/IcebergDataSink.h index 5ae06d4bf102..c5f4292f035b 100644 --- a/velox/connectors/hive/iceberg/IcebergDataSink.h +++ b/velox/connectors/hive/iceberg/IcebergDataSink.h @@ -87,30 +87,6 @@ class IcebergInsertTableHandle final : public HiveInsertTableHandle { std::optional compressionKind = {}, const std::unordered_map& serdeParameters = {}); -#ifdef VELOX_ENABLE_BACKWARD_COMPATIBILITY - IcebergInsertTableHandle( - std::vector inputColumns, - LocationHandlePtr locationHandle, - dwio::common::FileFormat tableStorageFormat, - IcebergPartitionSpecPtr partitionSpec, - std::optional compressionKind = {}, - const std::unordered_map& serdeParameters = {}) - : IcebergInsertTableHandle( - [&inputColumns]() { - std::vector icebergColumns; - icebergColumns.reserve(inputColumns.size()); - for (const auto& col : inputColumns) { - icebergColumns.push_back(convertToIcebergColumnHandle(col)); - } - return icebergColumns; - }(), - locationHandle, - tableStorageFormat, - partitionSpec, - compressionKind, - serdeParameters) {} -#endif - /// Returns the Iceberg partition specification that defines how the table /// is partitioned. const IcebergPartitionSpecPtr& partitionSpec() const {