My Oracle Support Banner

ORA-00932 WHILE USING IMPDP WITH REMAP_SCHEMA INVOLVING TYPE WITH DEFAULT SECTION (Doc ID 1367290.1)

Last updated on FEBRUARY 03, 2019

Applies to:

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

Symptoms

While doing an datapump import with the remap_schema option and if a table contains TYPES which has a default section defined, impdp with ORA-00932

To explain the issue, here is a small testcase.

Drop users


As you can see, the datatype section has been successfully mapped to the new user (GLOBAL1), but the default section still points old user (GLOBAL).

CREATE TABLE "GLOBAL1"."CURRENTDATAVALUES" ("DEVICE_ID" NUMBER(38,0) NOT NULL ENABLE,
"DATA_ITEM_VALUES" "GLOBAL1"."STRING_ARRAY" DEFAULT "GLOBAL"."STRING_ARRAY"('','',''),
                    ^^^^^^^ successfully mapped      ^^^^^^ unsuccessful in mapping
"DATA_ITEM_TIMESTAMPS" "GLOBAL1"."NUMBER_ARRAY" DEFAULT "GLOBAL"."NUMBER_ARRAY"(0,0,0))
                        ^^^^^^^ successfully mapped      ^^^^^^ unsuccessful in mappin

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.