You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/04/07 20:11:24 UTC
[GitHub] [incubator-iceberg] rdblue commented on a change in pull request
#141: Add case insensitive support to Parquet.
rdblue commented on a change in pull request #141: Add case insensitive support to Parquet.
URL: https://github.com/apache/incubator-iceberg/pull/141#discussion_r272849949
##########
File path: parquet/src/main/java/com/netflix/iceberg/parquet/ParquetMetricsRowGroupFilter.java
##########
@@ -56,9 +56,13 @@ private MetricsEvalVisitor visitor() {
}
public ParquetMetricsRowGroupFilter(Schema schema, Expression unbound) {
+ this(schema, unbound, true);
+ }
+
+ public ParquetMetricsRowGroupFilter(Schema schema, Expression unbound, boolean caseSensitive) {
this.schema = schema;
this.struct = schema.asStruct();
- this.expr = Binder.bind(struct, rewriteNot(unbound), true);
+ this.expr = Binder.bind(struct, rewriteNot(unbound), false);
Review comment:
I've updated this and fixed the test. The problem was that it used a `notEq` predicate that always matches. Now it uses an `eq` predicate that has a different result than for a column that isn't found.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org