[ 
https://issues.apache.org/jira/browse/HIVE-23371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101678#comment-17101678
 ] 

Hive QA commented on HIVE-23371:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/13002267/HIVE-23371.03.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 17236 tests passed

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/22182/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/22182/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-22182/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 13002267 - PreCommit-HIVE-Build

> 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
>              Labels: pull-request-available
>         Attachments: HIVE-23371.01.patch, HIVE-23371.02.patch, 
> HIVE-23371.03.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)

Reply via email to