You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "zhangfengcdt (via GitHub)" <gi...@apache.org> on 2024/07/29 23:02:12 UTC
Re: [I] datatype geometry is not supported when 'create table xxx (geom geometry)' [sedona]
zhangfengcdt commented on issue #1414:
URL: https://github.com/apache/sedona/issues/1414#issuecomment-2257153520
@freamdx The issue is currently being worked on. Before the fix, I think you can use the following workaround to create the Hive table.
```
CREATE OR REPLACE TEMP VIEW EMPTY_VIEW AS
SELECT ST_GEOMFROMTEXT(CAST(NULL AS STRING)) AS GEOM
WHERE 1 = 0;
CREATE TABLE T_TEST AS (SELECT * FROM EMPTY_VIEW);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org