vvysotskyi opened a new pull request #1985: DRILL-7565: ANALYZE TABLE ... 
REFRESH METADATA does not work for empty Parquet files
URL: https://github.com/apache/drill/pull/1985
 
 
   # [DRILL-7565](https://issues.apache.org/jira/browse/DRILL-7565): ANALYZE 
TABLE ... REFRESH METADATA does not work for empty Parquet files
   
   ## Description
   
   - Fixed `ConvertMetadataAggregateToDirectScanRule` rule to distinguish array 
columns correctly and proceed using other parquet metadata if such columns are 
found.
   - Added new implicit column which signalizes whether the empty result is 
obtained during collecting metadata and helps to distinguish real data results 
from metadata results.
   - Updated scan to return row with metadata if the above implicit column is 
present.
   - Added unit tests for checking the correctness of both optional and 
required columns from empty files.
   
   ## Documentation
   NA
   
   ## Testing
   Added unit tests.
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to