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