[
https://issues.apache.org/jira/browse/HIVE-23371?focusedWorklogId=431293&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-431293
]
ASF GitHub Bot logged work on HIVE-23371:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/May/20 16:24
Start Date: 06/May/20 16:24
Worklog Time Spent: 10m
Work Description: kgyrtkirk opened a new pull request #1006:
URL: https://github.com/apache/hive/pull/1006
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 431293)
Remaining Estimate: 0h
Time Spent: 10m
> StatsUtils.getConstValue may log misleading exception
> -----------------------------------------------------
>
> Key: HIVE-23371
> URL: https://issues.apache.org/jira/browse/HIVE-23371
> Project: Hive
> Issue Type: Bug
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Priority: Major
> Attachments: HIVE-23371.01.patch, HIVE-23371.02.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> it logs exceptions like:
> {code}
> 2020-05-05T01:51:59,609 DEBUG [cba65ded-3bb5-4295-9b3f-cdf844a8faec main]
> stats.StatsUtils: Interpreting constant (2008-04-08) resulted in exception
> java.lang.NumberFormatException: For input string: "2008-04-08"
> at
> sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
> ~[?:1.8.0_252]
> at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
> ~[?:1.8.0_252]
> at java.lang.Double.parseDouble(Double.java:538) ~[?:1.8.0_252]
> at
> org.apache.hadoop.hive.ql.stats.StatsUtils.getConstValue(StatsUtils.java:1653)
> [hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
> at
> org.apache.hadoop.hive.ql.stats.StatsUtils.buildColStatForConstant(StatsUtils.java:1632)
> [hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
> at
> org.apache.hadoop.hive.ql.stats.StatsUtils.getColStatisticsFromExpression(StatsUtils.java:1538)
> [hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
> {code}
> however...these exceptions are not that important; might just draw attention
> away from important ones
--
This message was sent by Atlassian Jira
(v8.3.4#803005)