paul8263 commented on code in PR #10531:
URL: https://github.com/apache/hudi/pull/10531#discussion_r1464193200
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/ExpressionPredicates.java:
##########
@@ -223,7 +228,98 @@ public ColumnPredicate
bindValueLiteral(ValueLiteralExpression valueLiteral) {
@Override
public FilterPredicate filter() {
- return toParquetPredicate(getFunctionDefinition(), literalType,
columnName, literal);
+ Serializable convertedLiteral = convertImplicitly(literalType, literal);
+ return toParquetPredicate(getFunctionDefinition(), literalType,
columnName, convertedLiteral);
+ }
+
+ private Serializable convertImplicitly(LogicalType literalType,
Serializable literal) {
+ try {
Review Comment:
OK. I'll do it.
--
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]