klaus-xiong commented on PR #35756:
URL: https://github.com/apache/spark/pull/35756#issuecomment-1195114328

   
   
   
   > What's the session timezone of Spark for your table insertion and reading? 
Can you give some SQL statements to demonstrate your issue?
   
   ```
   == Results ==
   !== Correct Answer - 6 ==    == Spark Answer - 6 ==
    struct<a:string>            struct<a:string>
   ![1000-01-01 00:00:00.123]   [1000-01-01 08:00:00.123]
   ![1582-10-15 08:00:00.456]   [1582-10-15 16:00:00.456]
   ![1883-11-18 19:59:59.999]   [1883-11-19 03:59:59.999]
   ![1883-11-18 20:00:00.001]   [1883-11-19 04:00:00.001]
   ![1900-11-18 20:00:00.789]   [1900-11-19 04:00:00.789]
   ![1970-01-01 00:00:00]       [1970-01-01 08:00:00]
   
   org.scalatest.exceptions.TestFailedException: 
   Results do not match for query:
   Timezone: 
sun.util.calendar.ZoneInfo[id="GMT-08:00",offset=-28800000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null
   ```
   
   this timezone is PST


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to