jorisvandenbossche commented on a change in pull request #8311:
URL: https://github.com/apache/arrow/pull/8311#discussion_r498913314



##########
File path: cpp/src/arrow/dataset/file_parquet.cc
##########
@@ -171,6 +170,15 @@ static std::shared_ptr<StructScalar> 
ColumnChunkStatisticsAsStructScalar(
     return nullptr;
   }
 
+  auto maybe_min = min->CastTo(field->type());
+  auto maybe_max = max->CastTo(field->type());

Review comment:
       Does this change behaviour? For a dictionary with string values, is 
field->type() string or dictionary?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to