My Oracle Support Banner

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 to [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.
Reviewed 23-Sep-2013.


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

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