-
Notifications
You must be signed in to change notification settings - Fork 872
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
Case-sensitive commands in console #5993
Comments
The better suggestion is to explain why a LIMIT 0 might be useful. For instance, it could be a fast method to check the validity of a query. As for the LIMIT, Limit or limit problem, that needs to be checked. Scott |
Hi @Severogor It seems be a matter of wrong pre-parsing in the console application, I'll check it soon Thanks Luigi |
Hi,
Thanks. |
orientdb {db=userdata}> CREATE EDGE LINK FROM #14:0 TO #29:3 SET ACTION = Error: com.orientechnologies.orient.core.exception.OValidationException: orientdb {db=userdata}> CREATE EDGE LINK FROM #14:0 TO #29:3 SET action = Created edge On Mon, Apr 18, 2016 at 1:56 PM, luigidellaquila notifications@github.com
|
Hi guys, I just pushed a fix to 2.1.x branch, the fix will be in next 2.1.17 This fix resolves the problems with LIMIT, EXIT, QUIT. LIMIT 0 was never supported, maybe it will be in the future, but I cannot guarantee it. Property names are case sensitive in OrientDB, @Severogor this should explain your case Thanks Luigi |
Hello, Thank you for your fix very much!
If so, why does the ALTER block alter properties case-insensitive? For example, orientdb {db=data}> alter property FOLLOWS.Revision NOTNULL False orientdb {db=data}> ALTER PROPERTY FOLLOWS.revision NOTNULL True All these commands change the FOLLOWS.revision NOTNULL property Best regards and thanks. On Wed, May 4, 2016 at 3:15 PM, luigidellaquila notifications@github.com
|
That's definitely a bug for me, I'll check it Thanks Luigi |
OrientDB Enterprise 2.1.13.
The same record limit also gives LIMIT -1 etc. As far as I understand, the LIMIT N (writing other than lowercase) gives correct results only in cases when N is in the interval (0, 20).
Seems like the LIMIT statement is case-sensitive in console and binary protocol (with pyorient) because it works correctly only in lowercase.
So and quit/exit...
May be I misunderstand something and some commands are made case-sensitive?.
Another thing with limit:
What's the problem with selecting 0 records?..
PostgreSQL 9.4.5
Why do I set as an example PostgreSQL? Because in my (and not only my) practice it is very stable, mature and its developer interface is VERY, VERY convenient. I wish that to OrientDB!
Thanks.
The text was updated successfully, but these errors were encountered: