Forum Discussion
Copy data Oracle Timezone Issue
ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region not found
Why Dataflows Work but Pipelines Fail
- Dataflows use Power Query connectors that handle timezone differently (often defaulting to UTC).
- Pipelines with Copy Data rely on the ODP.NET driver and pass the client timezone region, which Oracle cannot resolve.
β Workarounds
Option 1: Force UTC in the Connection
;Connection Timeout=30;Validate Connection=true;DefaultTimeZone=UTC
ALTER SESSION SET TIME_ZONE = 'UTC';
ALTER SESSION SET TIME_ZONE = 'UTC';Option 2: Use UseTZRegion=false in ODP.NET Config
- The file oracle.manageddataaccess.client.config is in the same directory as the gateway executable.
- It contains:
<configuration>
<oracle.manageddataaccess.client>
<version number="*">
<setting name="UseTZRegion" value="false"/>
</version>
</oracle.manageddataaccess.client>
</configuration>Option 3: Upgrade Oracle Client
Why Groups or Service Principals Are Not Relevant Here
If this response was helpful in any way, Iβd gladly accept a πmuch like the joy of seeing a DAX measure work first time without needing another FILTER.
Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop π.
Thanks for the response!
After extensive testing, it looks like this is a limitation of the OracleV2 driver used by Fabric Copy Activity.
The activity copy data does not allow pre-copy scripts, does not respect ODP.NET configuration files, and does not use the Oracle client installed on the gateway , I suspect Fabric use its own driver located in the datagateway server in FabricIntegrationRuntime\...\sxs\OracleV2Unbundle. Also in the connection configuration I cannot include the options you mention in the connection string, given that Fabric only let me put the Oracle Descriptor inside the Server field when creating the connection.
As a result, there is no supported way to force UTC or disable timezone region mapping when connecting to Oracle databases using TZFILE 14.
Dataflows work because they use a different connector that handles timezones differently as you mention.