Hi Michael,

I just created an issue about this, you can track here

https://github.com/orientechnologies/orientdb/issues/4109

This problem is flagged as high priority, so it will be quickly addressed

Luigi


2015-05-08 0:37 GMT+02:00 Michael MacFadden <[email protected]>:

> We are seeing a parse error in the latest development version for
> updating.  We are using an embedded map in our document.  The selecting the
> data looks like this:
>
> SELECT * FROM test WHERE col.key = "value";
>
> {
>     "result": [
>         {
>             "@type": "d",
>             "@rid": "#15:0",
>             "@version": 3,
>             "@class": "test",
>             "test": {
>                 "key": "value"
>             },
>             "id": 1,
>             "col": {
>                 "key": "value"
>             }
>         }
>     ],
>     "notification": "Query executed in 0.067 sec. Returned 1 record(s)"
> }
>
> The following SQL statement:
>
> UPDATE test SET test.key = "value" WHERE id = "1";
>
> Issues the following error:
>
> com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error
> on parsing command at position #0: Encountered " "." ". "" at line 1,
> column 21. Was expecting one of: "=" ... "+=" ... "-=" ... "*=" ... "/=" ...
>
> It seems like the parser does not like the dot notation.  However, the dot
> notation works just fine for the select statement.
>
> Thoughts
>
> --
>
> ---
> 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.

Reply via email to