From b029524b85253de943265bc7764295a1e8291569 Mon Sep 17 00:00:00 2001 From: Kapil Singh Date: Wed, 4 Sep 2024 17:24:55 +0530 Subject: [PATCH] Fix rebase --- velox/dwio/parquet/tests/reader/E2EFilterTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/velox/dwio/parquet/tests/reader/E2EFilterTest.cpp b/velox/dwio/parquet/tests/reader/E2EFilterTest.cpp index d248f1de6294..f50eaee29799 100644 --- a/velox/dwio/parquet/tests/reader/E2EFilterTest.cpp +++ b/velox/dwio/parquet/tests/reader/E2EFilterTest.cpp @@ -273,7 +273,7 @@ TEST_F(E2EFilterTest, timestampINT64MillisDictionary) { options_.enableDictionary = true; options_.dataPageSize = 4 * 1024; options_.parquetWriteTimestampUnit = - static_cast(TimestampUnit::kMilli); + std::optional(TimestampUnit::kMilli); options_.parquetWriteTimestampTimeZone = "utc"; testWithTypes( @@ -292,7 +292,7 @@ TEST_F(E2EFilterTest, timestampINT64MillisPlain) { options_.enableDictionary = false; options_.dataPageSize = 4 * 1024; options_.parquetWriteTimestampUnit = - static_cast(TimestampUnit::kMilli); + std::optional(TimestampUnit::kMilli); options_.parquetWriteTimestampTimeZone = "utc"; testWithTypes( @@ -311,7 +311,7 @@ TEST_F(E2EFilterTest, timestampINT64MicrosDictionary) { options_.enableDictionary = true; options_.dataPageSize = 4 * 1024; options_.parquetWriteTimestampUnit = - static_cast(TimestampUnit::kMicro); + std::optional(TimestampUnit::kMicro); options_.parquetWriteTimestampTimeZone = "utc"; testWithTypes( @@ -330,7 +330,7 @@ TEST_F(E2EFilterTest, timestampINT64MicrosPlain) { options_.enableDictionary = false; options_.dataPageSize = 4 * 1024; options_.parquetWriteTimestampUnit = - static_cast(TimestampUnit::kMicro); + std::optional(TimestampUnit::kMicro); options_.parquetWriteTimestampTimeZone = "utc"; testWithTypes(