The following function when added to Oracle capabilities help push down TZCONVERTOR to Oracle db -
TZCONVERTOR(@timestamp,~string,~string): cast(from_tz($1, $2) at time zone $3 as TIMESTAMP)
Sample query -
SELECT TZCONVERTOR (parse_timestamp('2023-03-29 00:30:00.000', 'yyyy-mm-dd hh24:mi:ss.ff3'), 'GMT', 'MST') a0001
FROM /shared/Oracle19c/TESTUSER/TT_03_120956_L
FETCH node - SQL: |
SELECT |
Oracle doc for FROM_TZ - https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/FROM_TZ.html#GUID-84384FF7-6462-480C-BC40-60087016857B
TDV doc for TZCONVERTOR - https://docs.tibco.com/pub/tdv/8.6.0/doc/html/en-US/StudioHelp/index.html#page/StudioHelp%2FAppendix_C_Time_Zones.html
The source and the target timezone should both be supported by the Oracle function and TDV function for it to deliver results.