houqp commented on pull request #1392:
URL: https://github.com/apache/arrow-datafusion/pull/1392#issuecomment-985333246


   Thanks @andrei-ionescu for taking a stab at this. I don't think we can just 
flatting all the columns like how it's handled in parquet because the rest of 
the datafusion code base assumes arrow's hierarchical column structure. As a 
result, column indexes only map to top level columns. I suspect this approach 
will not cause runtime crashes because we are only expanding the column vector, 
but it could lead to incorrect read of column stats in places like 
https://github.com/apache/arrow-datafusion/blob/069449f754c92765a2d0dbbf62cd7bac76257892/datafusion/src/physical_optimizer/aggregate_statistics.rs#L181


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