emkornfield commented on code in PR #50916:
URL: https://github.com/apache/arrow/pull/50916#discussion_r4084955575


##########
cpp/src/parquet/arrow/reader_internal.cc:
##########
@@ -964,6 +1039,21 @@ Status TransferColumnData(RecordReader* reader,
       if (descr->physical_type() == ::parquet::Type::INT96) {
         RETURN_NOT_OK(
             TransferInt96(reader, pool, value_field, &result, 
timestamp_type.unit()));
+      } else if (descr->physical_type() == 
::parquet::Type::FIXED_LEN_BYTE_ARRAY) {
+        // Validate that the provided Arrow timestamp unit matches the Parquet 
unit.
+        const auto& ts_logical =

Review Comment:
   might be worth a small check to make sure ensure the checked_cast is always 
valid.



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