My Oracle Support Banner

UNION Query on JSON Data Fails with ORA-00904 After Upgrade to 19c (Doc ID 2770313.1)

Last updated on APRIL 20, 2021

Applies to:

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

Symptoms

After upgrade to 19c, a UNION query on JSON data fails with the following error if a VPD policy exists on the JSON column:

ORA-904: invalid identifier


The two queries executed separately run fine.

The UNION query does not fail if the VPD policy is disabled.

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.