[
https://issues.apache.org/jira/browse/HIVE-10706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Pivovarov updated HIVE-10706:
---------------------------------------
Description:
TestCliDriver.testCliDriver_vectorized_timestamp_funcs failed recently
The problem is Double to Double numbers comparison without delta.
{code}
Running: diff -a
/home/hiveptest/54.196.24.219-hiveptest-1/apache-github-source-source/itests/qtest/../../itests/qtest/target/qfile-results/clientpositive/vectorized_timestamp_funcs.q.out
/home/hiveptest/54.196.24.219-hiveptest-1/apache-github-source-source/itests/qtest/../../ql/src/test/results/clientpositive/vectorized_timestamp_funcs.q.out
729c729
< 1123143.8570000003
---
> 1123143.8569999998
{code}
I also noticed that last query results are different among TestCliDriver and
TestSparkCliDriver tests (last line in vectorized_timestamp_funcs.q.out)
{code}
-- regular
2.8798560435897438E13 8.970772952794212E19 8.970772952794212E19
9.206845925236166E19 9.471416447815084E9 9.471416447815084E9
9.471416447815084E9 9.595231068211002E9
-- spark
2.8798560435897438E13 8.970772952794214E19 8.970772952794214E19
9.206845925236167E19 9.471416447815086E9 9.471416447815086E9
9.471416447815086E9 9.595231068211004E9
-- tez
2.8798560435897438E13 8.970772952794212E19 8.970772952794212E19
9.206845925236166E19 9.471416447815084E9 9.471416447815084E9
9.471416447815084E9 9.595231068211002E9
{code}
was:
TestCliDriver.testCliDriver_vectorized_timestamp_funcs failed recently
The problem is Double to Double numbers comparison without delta.
{code}
Running: diff -a
/home/hiveptest/54.196.24.219-hiveptest-1/apache-github-source-source/itests/qtest/../../itests/qtest/target/qfile-results/clientpositive/vectorized_timestamp_funcs.q.out
/home/hiveptest/54.196.24.219-hiveptest-1/apache-github-source-source/itests/qtest/../../ql/src/test/results/clientpositive/vectorized_timestamp_funcs.q.out
729c729
< 1123143.8570000003
---
> 1123143.8569999998
{code}
> Make vectorized_timestamp_funcs test more stable
> ------------------------------------------------
>
> Key: HIVE-10706
> URL: https://issues.apache.org/jira/browse/HIVE-10706
> Project: Hive
> Issue Type: Bug
> Components: UDF, Vectorization
> Reporter: Alexander Pivovarov
> Assignee: Alexander Pivovarov
> Priority: Minor
>
> TestCliDriver.testCliDriver_vectorized_timestamp_funcs failed recently
> The problem is Double to Double numbers comparison without delta.
> {code}
> Running: diff -a
> /home/hiveptest/54.196.24.219-hiveptest-1/apache-github-source-source/itests/qtest/../../itests/qtest/target/qfile-results/clientpositive/vectorized_timestamp_funcs.q.out
>
> /home/hiveptest/54.196.24.219-hiveptest-1/apache-github-source-source/itests/qtest/../../ql/src/test/results/clientpositive/vectorized_timestamp_funcs.q.out
> 729c729
> < 1123143.8570000003
> ---
> > 1123143.8569999998
> {code}
> I also noticed that last query results are different among TestCliDriver and
> TestSparkCliDriver tests (last line in vectorized_timestamp_funcs.q.out)
> {code}
> -- regular
> 2.8798560435897438E13 8.970772952794212E19 8.970772952794212E19
> 9.206845925236166E19 9.471416447815084E9 9.471416447815084E9
> 9.471416447815084E9 9.595231068211002E9
> -- spark
> 2.8798560435897438E13 8.970772952794214E19 8.970772952794214E19
> 9.206845925236167E19 9.471416447815086E9 9.471416447815086E9
> 9.471416447815086E9 9.595231068211004E9
> -- tez
> 2.8798560435897438E13 8.970772952794212E19 8.970772952794212E19
> 9.206845925236166E19 9.471416447815084E9 9.471416447815084E9
> 9.471416447815084E9 9.595231068211002E9
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)