[jira] [Created] (FLINK-21520) ParquetInputFormat#setfilterPredicate() does not work

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21520) ParquetInputFormat#setfilterPredicate() does not work

Shang Yuanchun (Jira)
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)