Wrong Result With Implicit Date Conversion Through Query Rewrite MView
(Doc ID 1517058.1)
Last updated on MAY 19, 2022
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
If working with enabled Star Transformation and a query has internal date conversion
and tables have MViews, then the query could return a wrong value.
While query rewrite is enabled for the MView, the plan contains the following FILTER with
internal date conversions, i.e.:
Which is then transformend into a NULL IS NOT NULL filter and stops the execution of the query producing zero rows.
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