DB2 - Problem description
Problem IC87445 | Status: Closed |
SPATIAL QUERY USING BOTH THE ST_NEARESTPOINTS AND ST_DISTANCE FUNCTIONS MAY FAIL WITH THE SQL0430N ERROR. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
A spatial query using both the ST_NearestPoints and ST_Distance functions may fail with the error: SQL0430N User defined function "DB2GSE.GSENATIVEDISTANCE" (specific name "GSENDIST") has abnormally terminated. SQLSTATE=38503 The ST_NearestPoints function is typically used to find the point(s) on a line "nearest" to a specified point location, such as querying a table of highway segments to find the highway segments and the closest points to a specified point. This would normally be qualified by a distance to avoid scanning the entire table. An example query is: with test_point(point) as ( values(db2gse.ST_Point (-108.21461,44.77150 , 1)) ) select objectid ,db2gse.ST_NearestPoints(route.shape, point) as np from highways, test_point where db2gse.st_distance(shape, point) < 0.1 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 8 or higher. * **************************************************************** | |
Local Fix: | |
There is no workaround. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 Version 9.7 Fix Pack 8. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 23.10.2012 08.04.2013 08.04.2013 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP8 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.8 |