Skip to content

Commit 400a0d8

Browse files
rui-moJkSelf
authored andcommitted
Treat timestamp partition value as UTC
1 parent ee4bd92 commit 400a0d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

velox/connectors/hive/SplitReader.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ velox::variant convertFromString(
287287
StringView(value.value()), true /*isIso8601*/));
288288
}
289289
auto result = velox::util::Converter<ToKind>::cast(value.value());
290-
if constexpr (ToKind == TypeKind::TIMESTAMP) {
291-
result.toGMT(Timestamp::defaultTimezone());
292-
}
290+
// if constexpr (ToKind == TypeKind::TIMESTAMP) {
291+
// result.toGMT(Timestamp::defaultTimezone());
292+
// }
293293
return velox::variant(result);
294294
}
295295
return velox::variant(ToKind);

0 commit comments

Comments
 (0)