[
https://issues.apache.org/jira/browse/ASTERIXDB-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15210943#comment-15210943
]
Yingyi Bu commented on ASTERIXDB-1376:
--------------------------------------
Changing "AND" to "and" will work:-)
> It seems that AND doesn't work in SQL++
> ---------------------------------------
>
> Key: ASTERIXDB-1376
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1376
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: AsterixDB, Error Reporting, Optimizer, Translator - AQL,
> Web Interface
> Reporter: Michael J. Carey
> Assignee: Yingyi Bu
>
> USE TinySocial;
> SELECT VALUE user
> FROM FacebookUsers AS user
> WHERE user.id >= 2 AND user.id <= 4;
> yields
> Internal error. Please check instance logs for further details.
> [NullPointerException]
> whereas both sides of the AND predicate work fine on their own.
> Am I missing something obvious? (I feel like I must be, but there
> shouldn't be an internal error ever anyway.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)