pitrou commented on code in PR #46940: URL: https://github.com/apache/arrow/pull/46940#discussion_r2174922794
########## cpp/src/parquet/arrow/reader_internal.cc: ########## @@ -344,7 +344,7 @@ void AttachStatistics(::arrow::ArrayData* data, using ArrowCType = typename ArrowType::c_type; - auto statistics = metadata->statistics().get(); + auto statistics = metadata->statistics(); Review Comment: Ok, but that doesn't answer the question. Is `statistics` only used in this local function? Why would `metadata` be destroyed while this function runs? -- 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]
