Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create spatial table with CRS #3425

Closed
latot opened this issue May 16, 2022 · 4 comments · Fixed by dolthub/go-mysql-server#1018 or #3457
Closed

Cannot create spatial table with CRS #3425

latot opened this issue May 16, 2022 · 4 comments · Fixed by dolthub/go-mysql-server#1018 or #3457
Assignees

Comments

@latot
Copy link

latot commented May 16, 2022

Hi hi, more feedbacks related to spatial data, re-edit of all the issue.

../dolt sql -q 'CREATE TABLE geom (g GEOMETRY NOT NULL SRID 4326);'
Error parsing SQL
syntax error at position 44 near 'SRID'
CREATE TABLE geom (g GEOMETRY NOT NULL SRID 4326)
                                            ^
syntax error at position 44 near 'SRID'

https://dev.mysql.com/doc/refman/8.0/en/creating-spatial-indexes.html

Thx!

@latot latot changed the title Cannot create spatial table with GEOMETRY Cannot create spatial table with CRS May 16, 2022
@timsehn
Copy link
Contributor

timsehn commented May 16, 2022

@jcor11599 Is this supposed to be supported?

@fulghum
Copy link
Contributor

fulghum commented May 16, 2022

@jennifersp has the work for this one in flight already. Syntax support is ready and she's working on the go-mysql-server support next. We should have this one turned around for you quickly.

@fulghum
Copy link
Contributor

fulghum commented Jun 1, 2022

@latot – let us know if you have any issues using the new SRID definition support when creating tables with spatial data types. Thanks again for reporting this one!

@latot
Copy link
Author

latot commented Jun 1, 2022

@fulghum Okis!, I'll try in some time check the functions!

Thx implementing this :3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants