Etienne Chauchot created FLINK-21520:
----------------------------------------

             Summary: ParquetInputFormat#setfilterPredicate() does not work
                 Key: FLINK-21520
                 URL: https://issues.apache.org/jira/browse/FLINK-21520
             Project: Flink
          Issue Type: Bug
            Reporter: Etienne Chauchot



{code:java}
 FilterPredicate filterPredicate =
      and(eq(intColumn("intField"), 10));
      parquetInputFormat.setFilterPredicate(filterPredicate);
      env.createInput(parquetInputFormat)
{code}
   
produces no records whereas 

{code:java}
env.createInput(parquetInputFormat).filter((FilterFunction<GenericRecord>) 
value ->  value.get("intField") == 10);
{code}

produces records.




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

Reply via email to