JSON_TABLE NOT RETURNING CORRECT DATA WHEN USED IN A SUBQUERY
Last updated on AUGUST 22, 2017
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
Running below case on the latest JSON BUNDLE PATCH 3 on 18.104.22.168 (Patch 24448103 - Database Proactive Patch 22.214.171.124.161018 (Oct2016)) is causing an incorrect result:
The last two queries should return the same result i.e 'X' since in both cases the select is checking for the same rows.
However, the version that uses the subquery does not return any value even though a row should exist for employee_id "0072" and email type "UNIV".
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