ChestnutQiang commented on code in PR #8449:
URL: https://github.com/apache/hudi/pull/8449#discussion_r1168372630
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/util/ExpressionUtils.java:
##########
@@ -150,23 +150,27 @@ public static Object
getValueFromLiteral(ValueLiteralExpression expr) {
switch (logicalType.getTypeRoot()) {
case TIMESTAMP_WITHOUT_TIME_ZONE:
return expr.getValueAs(LocalDateTime.class)
- .map(ldt -> ldt.toInstant(ZoneOffset.UTC).toEpochMilli())
- .orElse(null);
+ .map(ldt -> ldt.toInstant(ZoneOffset.UTC).toEpochMilli())
+ .orElse(null);
case TIME_WITHOUT_TIME_ZONE:
return expr.getValueAs(LocalTime.class)
- .map(lt -> lt.get(ChronoField.MILLI_OF_DAY))
- .orElse(null);
+ .map(lt -> lt.get(ChronoField.MILLI_OF_DAY))
+ .orElse(null);
Review Comment:
Redundant format revert ,
But others will have problems modifying this file because it does not follow
the check-style format。
@danny0405
--
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]