DB2 - Problembeschreibung
Problem IC67555 | Status: Geschlossen |
SHAPEFILE IMPORT AFTER SHAPEFILE EXPORT OF TIME AND TIMESTAMP VALUES FAILS | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
The shapefile specification doesn't include support for TIME or TIMESTAMP fields. When columns of these types are exported to a shapefile, the fields are exported as CHAR. If the user attempts to reload this data into a table with TIME and TIMESTAMP fields, it will fail with a message about incompatible types. This is an example message: GSE2106N The data type of the column "DB2SE_FVT"."TIMETEST"."TIME_FIELD" is ""SYSIBM"."TIME"", which does not match the expected type ""SYSIBM"."VARCHAR"" for the data to be imported from file. We do not document this limitation and it is reasonable for the customer to expect that data which our utility exports should be importable. Import of CHAR fields into TIME and TIMESTAMP fields should be allowed to avoid this customer problem. DB2 will do the appropriate conversions. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Spatial extender users working with TIME and/or TIMESTAMP * * columns which need to be exported and then imported * **************************************************************** * PROBLEM DESCRIPTION: * * The shapefile specification doesn't include support for TIME * * or * * TIMESTAMP fields. When columns of these types are exported * * to a * * shapefile, the fields are exported as VARCHAR. * * * * * * * * If the user attempts to reload this data into a table with * * TIME * * and TIMESTAMP fields, it will fail with a message about * * * * incompatible types. This is an example message: * * GSE2106N The data type of the column * * "DB2SE_FVT"."TIMETEST"."TIME_FIELD" is ""SYSIBM"."TIME"", * * which does * * not match the expected type ""SYSIBM"."VARCHAR"" for the * * data to be * * imported from file. * **************************************************************** * RECOMMENDATION: * * Upgrade to V9.7 FP3 * **************************************************************** | |
Local-Fix: | |
The work around is to create a table like the table to be imported into but creating CHAR columns instead of TIME and TIMESTAMP colums. Import into this table and then select from this table and import into the desired target table. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows | |
Lösung | |
Upgrade to V9.7 FP3 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC69127 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 30.03.2010 16.09.2010 16.09.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP3 | |
Problem behoben lt. FixList in der Version | |
9.7.0.3 | |
9.7.0.3 |