Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2537

Workaround Timezone specific Hive tests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.1, 1.1.0
    • 1.1.0
    • SQL
    • None

    Description

      Several Hive tests in HiveCompatibilitySuite are timezone sensitive:

      • timestamp_1
      • timestamp_2
      • timestamp_3
      • timestamp_udf

      Their answers differ between different timezones. Caching golden answers naively cause build failures in other timezones. Currently these tests are blacklisted. A not so clever solution is to cache golden answers of all timezones for these tests, then select the right version for the current build according to system timezone.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lian cheng Cheng Lian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment