HuaHuaY commented on code in PR #50694:
URL: https://github.com/apache/arrow/pull/50694#discussion_r3670626894


##########
cpp/src/parquet/metadata.cc:
##########
@@ -94,9 +94,11 @@ namespace {
 
 template <typename DType>
 std::shared_ptr<Statistics> MakeTypedColumnStats(const format::ColumnMetaData& 
metadata,
+                                                 const EncodedStatistics& 
encoded_stats,
                                                  const ColumnDescriptor* descr,
                                                  ::arrow::MemoryPool* pool) {
   const auto& statistics = metadata.statistics;
+  const int64_t null_count = encoded_stats.has_null_count ? 
encoded_stats.null_count : 0;

Review Comment:
   Because the values which `metadata.statistics` contains are the negative 
values. I want to use the values ​​modified in `FromThrift`.



-- 
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]

Reply via email to