[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15378577#comment-15378577
 ] 

Till Westmann commented on ASTERIXDB-1529:
------------------------------------------

There are copies in the runtime execution tests. The problem is, that we 
maintain those (as the build fails otherwise) but we don't maintain the queries 
in the docs.

We probably should find a way to construct the docs using the queries that run 
in the execution tests. That way we'd at least be sure that those queries work.

> Query 7 in AsterixDB 101 is broken
> ----------------------------------
>
>                 Key: ASTERIXDB-1529
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1529
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: Documentation
>         Environment: Latest binary download from Apache AsterixDB site 
> (master)
>            Reporter: Michael J. Carey
>            Assignee: Yingyi Bu
>
> Query 7 in the 101 tutorial is:
> use dataverse TinySocial;
> from $fbu in dataset FacebookUsers
> where (every $e in $fbu.employment satisfies not(is-null($e.end-date)))
> select $fbu;
> This query no longer works at all - instead it gives a syntax error:
> Error: Encountered " "not" "not "" at line 4, column 50.
> Was expecting one of:
>     "dataset" ...
>     "every" ...
>     "for" ...
>     "from" ...
>     "if" ...
>     "let" ...
>     "some" ...
>     "with" ...
>     "-" ...
>     "+" ...
>     "(" ...
>     "[" ...
>     "{" ...
>     "{{" ...
>     <INTEGER_LITERAL> ...
>     "missing" ...
>     "null" ...
>     "true" ...
>     "false" ...
>     <DOUBLE_LITERAL> ...
>     <FLOAT_LITERAL> ...
>     <STRING_LITERAL> ...
>     <IDENTIFIER> ...
>     <VARIABLE> ...
>     
> ==>     where (every $e in $fbu.employment satisfies 
> not(is-null($e.end-date)))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to