Github user ckadner commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6983#discussion_r42717075
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala
 ---
    @@ -324,20 +324,6 @@ class HiveQuerySuite extends HiveComparisonTest with 
BeforeAndAfter {
           | FROM src LIMIT 1
         """.stripMargin)
     
    -  createQueryTest("Date comparison test 2",
    -    "SELECT CAST(CAST(0 AS timestamp) AS date) > CAST(0 AS timestamp) FROM 
src LIMIT 1")
    --- End diff --
    
    depends on the system time zone, it should be ...
    - West of GMT `daysSinceEpoch` is `-1`
    - East of GMT `daysSinceEpoch` is `0`
    ```
     "CAST(0 AS timestamp)" --> "1 Jan 1970 00:00:00 GMT"
     "CAST(0 AS timestamp)" --> "31 Dec 1969 16:00:00 PST"
    ```


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