[ 
https://issues.apache.org/jira/browse/SPARK-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cheng Lian updated SPARK-2537:
------------------------------

    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.

  was:
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. 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.


> Workaround Timezone specific Hive tests
> ---------------------------------------
>
>                 Key: SPARK-2537
>                 URL: https://issues.apache.org/jira/browse/SPARK-2537
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.0.1, 1.1.0
>            Reporter: Cheng Lian
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to