DataPump Import (IMPDP) Fails With Errors ORA-31693 ORA-14401 When QUERY Parameter Is Used Over A NETWORK_LINK (Doc ID 1620146.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

You try to import data from a remote partitioned table into a local one using a database link. The data is restricted with a QUERY parameter.

The import fails with errors like:

Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-31693: Table data object "TEST"."PART001":"P001" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition
ORA-31693: Table data object "TEST"."PART001":"P002" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition
ORA-31693: Table data object "TEST"."PART001":"P003" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition

There is no corruption in source table.

If you don't use the QUERY parameter, then the import works as expected.

The next test demonstrates the behavior.

In source database, create a partitioned table and insert some rows:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms