From eb16769e64e7c7dbf72817bcc520288a13f6a1e8 Mon Sep 17 00:00:00 2001 From: Chengcheng Jin Date: Wed, 7 Aug 2024 11:14:30 +0000 Subject: [PATCH] [oap ] Set writeInt96AsTimestamp to true, will remove after int64 support --- velox/dwio/parquet/writer/Writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/velox/dwio/parquet/writer/Writer.h b/velox/dwio/parquet/writer/Writer.h index 26969a59d52f..17b8769f8ce6 100644 --- a/velox/dwio/parquet/writer/Writer.h +++ b/velox/dwio/parquet/writer/Writer.h @@ -107,7 +107,7 @@ struct WriterOptions : public dwio::common::WriterOptions { std::optional parquetWriteTimestampUnit; /// Timestamp time zone for Parquet write through Arrow bridge. std::optional parquetWriteTimestampTimeZone; - bool writeInt96AsTimestamp = false; + bool writeInt96AsTimestamp = true; // Parsing session and hive configs.