DB2 - Problem description
Problem IC71625 | Status: Closed |
ERROR MESSAGE NEEDED WHEN TEXT SEARCH RUNS WITH LEFT OUTER JOIN AND FULL OUTER JOIN | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
DB2 Text Search does not support left outer join and full outer join. Sample queries are db2 "SELECT a.col1, a.col2, b.col1, b.col2 FROM t1 a LEFT OUTER JOIN t2 b ON a.col1=b.col1 WHERE CONTAINS(b.col2, 'DATA') = 1 with ur"; SQL20425N Column "unknown column" in table "unknown table" was specified as an argument to a text search function, but a text search index does not exist for the column. SQLSTATE=38H12 and db2 "SELECT a.col1, a.col2, b.col1, b.col2 FROM t1 a FULL OUTER JOIN t2 b ON a.col1=b.col1 WHERE CONTAINS(b.col2, 'DATA') = 1 with ur"; SQL20425N Column "unknown column" in table "unknown table" was specified as an argument to a text search function, but a text search index does not exist for the column. SQLSTATE=38H12 Current error messsage SQL20425N Column "unknown column" in table "unknown table" was specified as an argument to a text search function, but a text search index does not exist for the column. SQLSTATE=38H12 does not give user enough information about the unsupported feature. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * DB2 Text Search does not support left outer join and full * * outer * * join. * * * * * * * * Sample queries are * * * * * * * * db2 "SELECT a.col1, a.col2, b.col1, b.col2 FROM t1 a LEFT * * OUTER * * JOIN t2 b ON a.col1=b.col1 WHERE CONTAINS(b.col2, 'DATA') = * * 1 * * with ur"; * * * * * * * * SQL20425N Column "unknown column" in table "unknown table" * * was * * specified as * * * * * * * * an argument to a text search function, but a text search * * index * * does not * * * * exist for the column. SQLSTATE=38H12 * * * * * * * * and * * * * * * * * db2 "SELECT a.col1, a.col2, b.col1, b.col2 FROM t1 a FULL * * OUTER * * JOIN t2 b ON a.col1=b.col1 WHERE CONTAINS(b.col2, 'DATA') = * * 1 * * with ur"; * * * * * * * * SQL20425N Column "unknown column" in table "unknown table" * * was * * specified as * * * * * * * * an argument to a text search function, but a text search * * index * * does not * * * * exist for the column. SQLSTATE=38H12 * * * * * * * * * * * * * * * * * * * * Current error messsage * * * * * * * * SQL20425N Column "unknown column" in table "unknown table" * * was * * specified as * * * * * * * * an argument to a text search function, but a text search * * index * * does not * * * * exist for the column. SQLSTATE=38H12 * * * * * * * * does not give user enough information about the unsupported * * * * feature. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 9.5 Fix Pack 7. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows | |
Solution | |
The problem is fixed in DB2 version 9.5 Fix Pack 7. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC73772 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 30.09.2010 10.01.2011 10.01.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP7 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.1.0.7 | |
9.5.0.7 |