apache / apache/parquet-java

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

Đang mở
#1,438 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Component: Java Component: Parquet Priority: Minor Type: enhancement
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.6k
Merge trung bình
3 ngày 12 giờ
Pull request đã merge (30 ngày)
33

Mô tả

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.*

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
data
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.