[ 
https://issues.apache.org/jira/browse/DRILL-7802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231278#comment-17231278
 ] 

Dony Dong commented on DRILL-7802:
----------------------------------

Hi Support,

 

The issue had been narrow down to when reading 0 record parquet file, the error 
will come out.

I remove the 0 record parquet file, select can works now.

parquet-mr version 1.8.3 (build aef7230e114214b7cc962a8f3fc5aeed6ce80828)

 

>  Error while applying rule DrillPushProjectIntoScanRule:enumerable after 
> upgrading to 1.16
> ------------------------------------------------------------------------------------------
>
>                 Key: DRILL-7802
>                 URL: https://issues.apache.org/jira/browse/DRILL-7802
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>    Affects Versions: 1.16.0
>            Reporter: Dony Dong
>            Priority: Major
>         Attachments: error log.txt
>
>
> We recently upgraded our Drill from 1.15 to 1.16.
> After that, we found when querying some tables and empty tables, it will fail 
> with below errors.
> Error: SYSTEM ERROR: NoSuchElementException.
> Caused by: org.apache.drill.exec.work.foreman.ForemanException: Unexpected 
> exception during fragment initialization: Error while applying rule 
> DrillPushProjectIntoScanRule:enumerable, args 
> [rel#944215:LogicalProject.NONE.ANY([]).[](input=rel#944214:Subset#0.ENUMERABLE.ANY([]).[],$f0=0),
>  rel#944189:EnumerableTableScan.ENUMERABLE.ANY([]).[](table=[dfs, 
> test_schema, dony_test])]
>  
> I copy the parquet files to another Drill 1.15, it works well.
> Kindly advise  how to find the root cause and how to fix it.
>  
> Best Regards



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to