Skip to content

Commit

Permalink
Convert TIMESTAMP_WITH_TIME_ZONE to primitive type
Browse files Browse the repository at this point in the history
  • Loading branch information
wypb committed Feb 23, 2024
1 parent 02b512b commit 7b961af
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions velox/serializers/PrestoSerializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1178,21 +1178,11 @@ void readMapVectorStructNulls(
valueCount(source, size, scratch);
}

void readTimestampWithTimeZoneStructNulls(
ByteInputStream* source,
Scratch& scratch) {
readStructNulls<int64_t>(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<int32_t>();
const auto& childTypes = type->asRow().children();
Expand Down

0 comments on commit 7b961af

Please sign in to comment.