GitHub user scwf opened a pull request:

    https://github.com/apache/spark/pull/3814

    [SPARK-4975][SQL] Fix HiveInspectorSuite test failure

    HiveInspectorSuite test failure:
    [info] - wrap / unwrap null, constant null and writables *** FAILED *** (21 
milliseconds)
    [info] 1 did not equal 0 (HiveInspectorSuite.scala:136)  
    this is because the origin date(is 3914-10-23) not equals the date returned 
by unwrap(is 3914-10-22).
    
    Setting TimeZone and Locale fix this. 
    Another minor change here is change ```def checkValues(v1: Any, v2: Any): 
Unit```  to  ```def checkValue(v1: Any, v2: Any): Unit ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/scwf/spark fix-inspectorsuite

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/3814.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3814
    
----
commit 72b19a96606fa83be32948dc5848ac99dc9dedb9
Author: scwf <[email protected]>
Date:   2014-12-27T13:51:11Z

    fix HiveInspectorSuite test error

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to