zhangfengcdt opened a new pull request, #1543:
URL: https://github.com/apache/sedona/pull/1543

   
   ## Did you read the Contributor Guide?
   
   - Yes, I have read the [Contributor 
Rules](https://sedona.apache.org/latest-snapshot/community/rule/) and 
[Contributor Development 
Guide](https://sedona.apache.org/latest-snapshot/community/develop/)
   
   ## Is this PR related to a JIRA ticket?
   
   - Yes, the URL of the associated JIRA ticket is 
https://issues.apache.org/jira/browse/SEDONA-XXX. The PR name follows the 
format `[SEDONA-636] my subject`.
   
   ## What changes were proposed in this PR?
   This PR add the geometry type in the table creation DDL. For example:
   ```
   CREATE TABLE T_TEST_EXPLICIT_GEOMETRY (GEO_COL GEOMETRY)
   
   CREATE TABLE T_TEST_EXPLICIT_GEOMETRY_2 (INT_COL INT, GEO_COL GEOMETRY)
   ```
   Before the change, it throws error below:
   
   DataType geometryee is not supported.(line 1, pos 62)
   
   == SQL ==
   CREATE TABLE T_TEST_EXPLICIT_GEOMETRY_2 (INT_COL INT, GEO_COL GEOMETRY)
   --------------------------------------------------------------^^^
   
   
   ## How was this patch tested?
   new unit test: SQLSyntaxTestScala
   
   ## Did this PR include necessary documentation updates?
   
   - No, this PR does not affect any public API so no need to change the 
documentation.
   


-- 
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: dev-unsubscr...@sedona.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to