ayushi-agarwal commented on issue #8401:
URL: 
https://github.com/apache/incubator-gluten/issues/8401#issuecomment-2569627451

   I modified the code so that varchar to timestamp cast is also gets pushed to 
velox. For PST it fails with below error but works fine if I give 
America/Los_Angeles
   Error Source: USER
   Error Code: INVALID_ARGUMENT
   Reason: Unknown time zone: 'PST'
   Retriable: False
   Expression: toTimeZone != nullptr
   Context: Top-level Expression: 
from_utc_timestamp(try_cast((from_unixtime(try_cast((divide(try_cast((n0_0) as 
DOUBLE), 1000:DOUBLE)) as BIGINT), yyyy-MM-dd HH:mm:ss.SSS :VARCHAR)) as 
TIMESTAMP), PST:VARCHAR)
   Function: call
   File: 
/home/ayushi/workspace/incubator-gluten/ep/build-velox/build/velox_ep/./velox/functions/sparksql/DateTimeFunctions.h
   Line: 374
   This error might be coming because PST is not present in 
https://github.com/facebookincubator/velox/blob/main/velox/type/tz/TimeZoneDatabase.cpp
   
   


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