]
Barry LaFond updated TEIIDDES-2799:
-----------------------------------
Fix Version/s: 11.0
Import Geometry types
---------------------
Key: TEIIDDES-2799
URL:
https://issues.jboss.org/browse/TEIIDDES-2799
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 10.0.1
Reporter: Matej Kralik
Fix For: 11.0
Attachments: screenshot1.png, screenshot2.png
In the Maria DB I create tables with contain geometry type.
Each table contains one of type(POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING,
MULTIPOLYGON, GEOMETRYCOLLECTION, GEOMETRY)).
When I generated source model from their, only geometry has been set geometry type
(screenshot 1). The others have been set object type.
I generate VDB and execute it. This query
{code:java}
SELECT ST_AsText(g) FROM gis_geometry
{code}
works only geometry type (screenshot 1). However when I set geometry type manually for
all columns in source model, query works for all tables (screenshot 2).
I think that Teiid Designer will should set geometry type for all this types when it
import tables from JDBC source.