Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10706

Make vectorized_timestamp_funcs test more stable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • UDF, Vectorization
    • None

    Description

      TestCliDriver.testCliDriver_vectorized_timestamp_funcs failed recently
      The problem is Double to Double numbers comparison without delta.

      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
      

      I also noticed that last query results are different among TestCliDriver and TestSparkCliDriver tests (last line in vectorized_timestamp_funcs.q.out)

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

      Attachments

        1. HIVE-10706.1.patch
          25 kB
          Alexander Pivovarov

        Issue Links

          Activity

            People

              apivovarov Alexander Pivovarov
              apivovarov Alexander Pivovarov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: