From 36373f7b5d0f53b7f02da1e31f45f1d6b5e8a025 Mon Sep 17 00:00:00 2001 From: mwish Date: Mon, 27 May 2024 18:55:55 +0800 Subject: [PATCH] fix comment --- cpp/src/parquet/properties.h | 6 ------ cpp/src/parquet/types.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp/src/parquet/properties.h b/cpp/src/parquet/properties.h index 5b70e0b2001fd..4d3acb491e390 100644 --- a/cpp/src/parquet/properties.h +++ b/cpp/src/parquet/properties.h @@ -1180,10 +1180,4 @@ struct ArrowWriteContext { PARQUET_EXPORT std::shared_ptr default_arrow_writer_properties(); -// PLAIN_DICTIONARY is deprecated but used to be used as a dictionary index -// encoding. -constexpr bool IsDictionaryIndexEncoding(Encoding::type e) { - return e == Encoding::RLE_DICTIONARY || e == Encoding::PLAIN_DICTIONARY; -} - } // namespace parquet diff --git a/cpp/src/parquet/types.h b/cpp/src/parquet/types.h index 38529bceae85f..70a1c4b73ec45 100644 --- a/cpp/src/parquet/types.h +++ b/cpp/src/parquet/types.h @@ -811,4 +811,10 @@ PARQUET_EXPORT SortOrder::type GetSortOrder(ConvertedType::type converted, PARQUET_EXPORT SortOrder::type GetSortOrder( const std::shared_ptr& logical_type, Type::type primitive); +// PLAIN_DICTIONARY is deprecated but used to be used as a dictionary index +// encoding. +constexpr bool IsDictionaryIndexEncoding(Encoding::type e) { + return e == Encoding::RLE_DICTIONARY || e == Encoding::PLAIN_DICTIONARY; +} + } // namespace parquet