Hi Adrian, v 2.0 suffers from a lot of these problems with the SQL parser. In 2.1 we rewrote it from scratch, so all these problems will be fixed in that release. RC1 is already available and final release will be ready in a few weeks.
Regards Luigi 2015-04-23 14:03 GMT+02:00 Adrian Mihalcea <[email protected]>: > Hi all, > > this is not that big of a problem, but it can be annoying if you can't > figure out why. I'm using version 2.0.8 for this. > > for a query like: > select $x from A let $x = out() where $x.size()>0 > > I get this exception in the web UI: > com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error > on parsing command at position #47: Invalid keyword '0' Command: select $x > from A let $x = out() where $x.size()>0 > -------------------------------------------------------^ > > the culprit seems to be the last part. If I rewrite the statement with > spaces around > operator, it works fine: > > select $x from A let $x = out() where $x.size() > 0 > > Best Regards, > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
