deniskuzZ commented on code in PR #6954:
URL: https://github.com/apache/hive/pull/6954#discussion_r4537690986
##########
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetFilterPredicateConverter.java:
##########
@@ -131,8 +132,15 @@ private static FilterPredicate translate(ExpressionTree
root,
.getLeafFilterBuilderByType(leaf.getType(), parquetType);
if (isMultiLiteralsOperator(leaf.getOperator())) {
+ List<Object> literals = leaf.getLiteralList();
+ // getLiteralList() drops null literals and returns an empty list when
the runtime values (DynamicValue) of the
Review Comment:
getLiteralList() drops nulls only for runtime values; a static literal list
comes back unchanged.
Maybe alter to "getLiteralList() drops null runtime values, and returns an
empty list when they are not available"
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]