Comments (15)
It's my pleasure. Thank you so much for building this awesome database and open sourcing it!
from surrealdb.
Done
from surrealdb.
I've found another issue, and am finishing a fix for this too (and adding some tests)...
from surrealdb.
Hi @rushmorem thanks for finding this bug 👏 !
from surrealdb.
Definitely could look into supporting lat/lon degress, and the like. We would need to write it in the parser (as opposed to defer to the that crate though, as that will be more performant. Similar to how we are parsing datetimes/durations...
from surrealdb.
Yes, it's working on main
. Thanks!
from surrealdb.
Hi @rushmorem , I've got the fix for this if you want me to push it up...?
from surrealdb.
Hi @tobiemh, it's OK take your time. It's just something I ran across while trying the SQL queries on the website.
from surrealdb.
@tobiemh While we are still on the topic of geometry types, are you interested in supporting more formats for latitude
and longitude
? For example the ones listed in this crate?
from surrealdb.
@rushmorem ☝️
from surrealdb.
OK, noted. This is not something I have a use for right now though. I just thought you might be interested. If it's something you need soon though, I will be happy to look into it.
from surrealdb.
@rushmorem could you add a separate feature request for it by any chance?
from surrealdb.
Sure! No problem.
from surrealdb.
@rushmorem @tobiemh has this issue been resolved? I tried to recreate the same, and the server crashed, giving the same error message.
Attaching a screenshot of the server logs.
from surrealdb.
@Adithya2907 Yes, it's fixed on main
.
> UPDATE university:oxford SET locations = {
type: "MultiPolygon",
coordinates: [
[
[ [10.0, 11.2], [10.5, 11.9], [10.8, 12.0], [10.0, 11.2] ]
],
[
[ [9.0, 11.2], [10.5, 11.9], [10.3, 13.0], [9.0, 11.2] ]
]
]
};
[{"time":"246.85µs","status":"OK","result":[{"id":"university:oxford","locations":{"type":"MultiPolygon","coordinates":[[[[10.0,11.2],[10.5,11.9],[10.8,12.0],[10.0,11.2]]],[[[9.0,11.2],[10.5,11.9],[10.3,13.0],[9.0,11.2]]]]}}]}]
> SELECT * FROM university:oxford;
[{"time":"105.191µs","status":"OK","result":[{"id":"university:oxford","locations":{"type":"MultiPolygon","coordinates":[[[[10.0,11.2],[10.5,11.9],[10.8,12.0],[10.0,11.2]]],[[[9.0,11.2],[10.5,11.9],[10.3,13.0],[9.0,11.2]]]]}}]}]
v1.0.0-beta.8
won't have this issue.
from surrealdb.
Related Issues (20)
- Bug: for loop stop iteration on return HOT 3
- Bug: $parent not working in relation subquery HOT 2
- Bug: bool index not working when no value is specified
- Bug: index is not used after upgrading from 1.2.1 to 1.2.2
- Bug: Response::take(&str) doesn't allow retrieving different columns from the same query
- Bug: IF NOT EXISTS not working for define event HOT 2
- Feature: version command should print detailed information about the binary
- Bug: unresolved import `crate::fflags` in version 1.3.0 with kv-rocksdb feature enabled HOT 3
- Performance issue: array / result set operations are slow HOT 1
- Bug: Graph query does not work when selecting uncreated node HOT 1
- Bug: index not working when fetching data with relation
- Bug: Very different behaviour across backend engines, with rocksdb and tikv not working
- Bug: constant attempts to connect to localhost:4317 HOT 2
- Bug: new beta show error on server stop
- Bug: Throw syntax error when using multiple PERMISSIONS statements when defining a table
- Feature: allow inclusive range query (array as id) where you only have to specify first elements and succeeding with NONE
- Bug: can not build on woa(windows on arm64) HOT 1
- Feature: Improve KILL parameter error
- Bug: Ordering of JWT appears to break authentication
- Bug: Transaction sends CREATE to the LIVE-UUID even when the transaction Throws. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surrealdb.