You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2015/10/25 15:59:27 UTC

[jira] [Resolved] (METAMODEL-199) QueryParser fails to parse "WHERE (x='1') AND (y='2')" style where clause

     [ https://issues.apache.org/jira/browse/METAMODEL-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasper Sørensen resolved METAMODEL-199.
---------------------------------------
       Resolution: Fixed
         Assignee: Hans Drexler  (was: Kasper Sørensen)
    Fix Version/s: 4.4.1

> QueryParser fails to parse "WHERE (x='1') AND (y='2')" style where clause
> -------------------------------------------------------------------------
>
>                 Key: METAMODEL-199
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-199
>             Project: Apache MetaModel
>          Issue Type: Bug
>            Reporter: Kasper Sørensen
>            Assignee: Hans Drexler
>             Fix For: 4.4.1
>
>
> We encountered a query that was expressed like this, that was not parseable:
> SELECT COUNT(*) FROM table WHERE (col1='1') AND (col2='2')
> It seems that it works if we remove the parentheses around the where items. But it _should_ rather be able to parse something like this I think...



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