rok commented on code in PR #34632:
URL: https://github.com/apache/arrow/pull/34632#discussion_r1143953996
##########
cpp/src/parquet/encoding.cc:
##########
@@ -2100,9 +2100,12 @@ class DictByteArrayDecoderImpl : public
DictDecoderImpl<ByteArrayType>,
template <typename DType>
class DeltaBitPackEncoder : public EncoderImpl, virtual public
TypedEncoder<DType> {
+ static_assert(std::is_same_v<int32_t, typename DType::c_type> ||
+ std::is_same_v<int64_t, typename DType::c_type>);
// Maximum possible header size
static constexpr uint32_t kMaxPageHeaderWriterSize = 32;
Review Comment:
Would we want to expose this in other language bindings too? (e.g. Python, R)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]