You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "KevinyhZou (via GitHub)" <gi...@apache.org> on 2025/02/26 06:19:41 UTC

[I] [CH] Function unix_timestamp/from_unixtime diff if no time zone specified [incubator-gluten]

KevinyhZou opened a new issue, #8830:
URL: https://github.com/apache/incubator-gluten/issues/8830

   ### Backend
   
   CH (ClickHouse)
   
   ### Bug description
   
   Now that unix_timestamp will convert to `parseDataTime64InJodaSyntaxOrNull` function to clickhouse, but no time zone specified when pass arguments to ch, so on different machine, it may get different timezone, and it may lead to different time zone from its client, and that lead to result diff.
   
   And it is the same problem of from_unixtime
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
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: commits-unsubscribe@gluten.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [CH] Function unix_timestamp/from_unixtime diff as no timezone specified [incubator-gluten]

Posted by "KevinyhZou (via GitHub)" <gi...@apache.org>.
KevinyhZou closed issue #8830: [CH] Function unix_timestamp/from_unixtime diff as no timezone specified
URL: https://github.com/apache/incubator-gluten/issues/8830


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [CH] Function unix_timestamp/from_unixtime diff as no timezone specified [incubator-gluten]

Posted by "KevinyhZou (via GitHub)" <gi...@apache.org>.
KevinyhZou commented on issue #8830:
URL: https://github.com/apache/incubator-gluten/issues/8830#issuecomment-2684172786

   设置`spark.sql.session.timeZone` 即可


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org