DBMS_METADATA.GET_DDL Returns Incorrect DDL For Invisible Index (Doc ID 1965563.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 12.1.0.2 [Release 11.1 to 12.1]
Information in this document applies to any platform.

Symptoms

The output from DBMS_METADATA.GET_DDL for a partitioned index that is defined to be INVISIBLE does not have the INVISIBLE clause included in the output.
 
This issue may also cause the "INVISIBLE" clause to be lost if such partition index is exported and then imported by datapump.

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