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
CREATE INDEX should automatically bound index to a property using index name:
CREATEINDEXUser.id UNIQUE /* throws error */CREATEINDEXUser.id ON User (id) UNIQUE /* working */
Actual behavior
It throws this error:
com.orientechnologies.orient.core.exception.ODatabaseException: Impossible to create an index without specify the key type or the associated property: CREATE INDEX User.id UNIQUE
That syntax will be deprecated soon, it's there only for backward compatibility in the legacy SQL executor. Please use the full syntax.
Anyway, I'll give it a look, probably it's an easy fix
OrientDB Version: v3.0.0
Java Version: 9.0.1
OS: MacOS
Expected behavior
CREATE INDEX
should automatically bound index to a property using index name:Actual behavior
It throws this error:
Steps to reproduce
Run these commands (from https://orientdb.com/docs/3.0.x/sql/SQL-Create-Index.html):
The text was updated successfully, but these errors were encountered: