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
This seems like a major problem. @danielmewes, any thoughts?
irb(main):040:0> r.table('test').index_create('geo', geo:true){|row| r.point(row['longitude'], row['latitude'])}.run
RethinkDB::RqlRuntimeError: Could not prove function deterministic. Index functions must be deterministic.
The text was updated successfully, but these errors were encountered:
We could definitely make the r.point() constructor deterministic again, since it doesn't perform any form of complex math (it only compares the coordinates to check that they are in range). Do you think that would help?
The same wouldn't work as easily for the other geo constructors because they use operations that are potentially suspectible to rounding errors (such as intersection tests).
This seems like a major problem. @danielmewes, any thoughts?
The text was updated successfully, but these errors were encountered: