[ https://issues.apache.org/jira/browse/FLINK-21468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Etienne Chauchot updated FLINK-21468: ------------------------------------- Description: Using _ParquetTableSource_ with a parquet field mapped (at least for parquet type _optional int32_) to _BasicTypeInfo.INT_TYPE_INFO_, a SQL where clause such as {code:java} where field = 42 {code} does not work: the data for which field == 42 is not part of the output. I tried with a _CsvTableSource_ with the same data and the same SQL query is executed properly. was: Even with [this|https://github.com/apache/flink/pull/14961] fix, using _ParquetTableSource_ with a parquet field mapped to _BasicTypeInfo.INT_TYPE_INFO_, a SQL where clause such as {code:java} where field = 42 {code} does not work: the data for which field == 42 is not part of the output. I tried with a _CsvTableSource_ with the same data and the same SQL query is executed properly. > ParquetTableSource: where clause on integer does not work > --------------------------------------------------------- > > Key: FLINK-21468 > URL: https://issues.apache.org/jira/browse/FLINK-21468 > Project: Flink > Issue Type: Bug > Reporter: Etienne Chauchot > Priority: Major > > Using _ParquetTableSource_ with a parquet field mapped (at least for parquet > type _optional int32_) to _BasicTypeInfo.INT_TYPE_INFO_, a SQL where clause > such as > {code:java} > where field = 42 > {code} > does not work: the data for which field == 42 is not part of the output. > I tried with a _CsvTableSource_ with the same data and the same SQL query is > executed properly. -- This message was sent by Atlassian Jira (v8.3.4#803005)