You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kiszk (via GitHub)" <gi...@apache.org> on 2025/11/25 17:55:27 UTC

Re: [PR] GH-48206: [C++][Parquet] Fix statistics logic on s390x [arrow]

kiszk commented on code in PR #48207:
URL: https://github.com/apache/arrow/pull/48207#discussion_r2560923134


##########
cpp/src/parquet/statistics.cc:
##########
@@ -925,22 +926,94 @@ void TypedStatisticsImpl<DType>::UpdateSpaced(const T* values, const uint8_t* va
 
 template <typename DType>
 void TypedStatisticsImpl<DType>::PlainEncode(const T& src, std::string* dst) const {
+#if ARROW_LITTLE_ENDIAN
   auto encoder = MakeTypedEncoder<DType>(Encoding::PLAIN, false, descr_, pool_);
   encoder->Put(&src, 1);

Review Comment:
   I have the same question. Could you elaborate why `MakeTypedEncoder()` cannot be used?



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org