My Oracle Support Banner

Ora-14093 When Joining Partitioned Table With Bitmapped Indexes (Doc ID 261335.1)

Last updated on MARCH 10, 2020

Applies to:

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

Symptoms

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner. 

A query on 2 partitioned tables with bitmap indexes fails with one of the predicates giving an ORA-14093 data type of expression incompatible with that of partitioning column If that predicate is removed (or forced to go for a FTS), keeping the other predicates, the query works.

 SELECT t2.c1,SUM(t1.c1) FROM table1 t1, table2 t2 WHERE ((t2.c2 > 50 AND t2.c2 < 70)) AND t1.d1 BETWEEN TO_DATE('20020101', 'YYYYMMDD') AND TO_DATE('20020224', 'YYYYMMDD') AND t1.c2 <> 0 AND t2.c2 = t1.c3 GROUP BY t2.c1 ORDER BY 2 DESC;

 If the where clause on t2.c2 that causes the error is removed, the query works fine.

If one of the two conditions is removed, the query works fine.

Changes

 

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!


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