Wrong Result With Implicit Date Conversion Through Query Rewrite MView (Doc ID 1517058.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.
Reviewed 23-Sep-2013.

Symptoms

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.

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