apache / apache/parquet-java

Filter predicate should be able to filter on columns not specified in projection pushdown

Abierto
#1,438 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Component: Java Component: Parquet Priority: Minor Type: enhancement
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.6k
Merge medio
3 d 12 h
PR fusionados (30 d)
33

Descripción

When using both filter predicate and projection pushdown of columns, the column specified in the filter predicate, should not have to be specified in the projection pushdown.

For example, if I want the first names of students that are over the age of 16, then I should be able to specify ParquetInputFormat.setFilterPredicate(jobConf, IntColumn("age") > 16) and only have to specify ThriftReadSupport.setProjectionPushdown(jobConf, "fname")

**Reporter**: [Tim Chan](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zzztimbo) / @zzztimbo

**Note**: *This issue was originally created as [PARQUET-295](https://issues.apache.org/jira/browse/PARQUET-295). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start with ParquetInputFormat.setFilterPredicate and ThriftReadSupport.setProjectionPushdown, using the example in the issue to trace how projected columns and filter columns are handled together. The work is done when a projection containing only fname can still filter on age > 16, with coverage for that behavior added to the relevant existing tests.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
data
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.