diff --git a/velox/serializers/PrestoSerializer.cpp b/velox/serializers/PrestoSerializer.cpp index bd8593fbfc0b1..d505ea1371690 100644 --- a/velox/serializers/PrestoSerializer.cpp +++ b/velox/serializers/PrestoSerializer.cpp @@ -1178,21 +1178,11 @@ void readMapVectorStructNulls( valueCount(source, size, scratch); } -void readTimestampWithTimeZoneStructNulls( - ByteInputStream* source, - Scratch& scratch) { - readStructNulls(source, BIGINT(), false, scratch); -} - void readRowVectorStructNulls( ByteInputStream* source, const TypePtr& type, bool useLosslessTimestamp, Scratch& scratch) { - if (isTimestampWithTimeZoneType(type)) { - readTimestampWithTimeZoneStructNulls(source, scratch); - return; - } auto streamPos = source->tellp(); const int32_t numChildren = source->read(); const auto& childTypes = type->asRow().children();