You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
freamdx
changed the title
datatype geometry is not supported when 'create table test (geom geometry)'
datatype geometry is not supported when 'create table xxx (geom geometry)'
May 16, 2024
@freamdx Thanks. This is on our radar. This can be done via adding a custom Sedona SQL parser on top of Spark, without forking Spark code. We will add the support in 1.6.1 release.
@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);
Expected behavior
Actual behavior
Steps to reproduce the problem
Settings
Sedona version = 1.5
Apache Spark version = 3.x
Environment = spark-thrift-server
The text was updated successfully, but these errors were encountered: