You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "deniskuzZ (via GitHub)" <gi...@apache.org> on 2025/07/10 22:35:05 UTC

Re: [PR] HIVE-29069: Fix Query Failure while computing Range Partition Column stats on Numeric partition column types [hive]

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


##########
ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java:
##########
@@ -647,7 +647,7 @@ private static Range getRangePartitionColumn(PartitionIterable partitions, Strin
       double max = Double.MIN_VALUE;
       for (Partition partition : partitions) {
         partVal = partition.getSpec().get(partColName);
-        if (!partVal.equals(defaultPartName)) {
+        if (NumberUtils.isCreatable(partVal)) {

Review Comment:
   thanks!



-- 
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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org