deniskuzZ commented on code in PR #5191:
URL: https://github.com/apache/hive/pull/5191#discussion_r1568783021


##########
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFLower.java:
##########
@@ -108,4 +114,14 @@ public String getDisplayString(String[] children) {
     return getStandardDisplayString("lower", children);
   }
 
+  @Override
+  public StatEstimator getStatEstimator() {
+    return new StatEstimator() {
+      @Override
+      public Optional<ColStatistics> estimate(List<ColStatistics> argStats) {
+        return Optional.of(argStats.get(0).clone());

Review Comment:
   could it be an empty list?



-- 
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]

Reply via email to