Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

HANA geo spatial: no ST_GEOMETRY allowed for Row Store table

$
0
0

Hi experts,

 

We are on HANA 1.0 Rev68 and using the spatial engine.

 

We can create a column table with ST_GEOMETRY columns via CREATE COLUMN TABLE statement.

 

For example:

 

CREATE COLUMN TABLE CGIS

(

gid INTEGER PRIMARY KEY,

thegeom ST_GEOMETRY

);

 

However, we can't create a oldschool ROW TABLE with an ST_GEOMETRY column.

We did work around this by adding the ST_GEOMETRY type column later via "ALTER TABLE rowtable1 ADD (geom ST_GEOMETRY);", but we don't think this works, as the ST_GEOMETRY_COLUMNS view is NOT updated when adding a geo column to a row table.

 

Has anyone succeeded creating ROW TABLEs with geo columns? Is this behavior OK?

 

Cheers, Wout


Viewing all articles
Browse latest Browse all 9165

Trending Articles