You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2017/01/28 19:26:24 UTC
[jira] [Resolved] (METAMODEL-1134) Support for NOT / NOT IN
operator
[ https://issues.apache.org/jira/browse/METAMODEL-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kasper Sørensen resolved METAMODEL-1134.
----------------------------------------
Resolution: Fixed
Fix Version/s: 4.5.6
> Support for NOT / NOT IN operator
> ---------------------------------
>
> Key: METAMODEL-1134
> URL: https://issues.apache.org/jira/browse/METAMODEL-1134
> Project: Apache MetaModel
> Issue Type: Improvement
> Reporter: Hans Drexler
> Fix For: 4.5.6
>
>
> In MetaModel it is not possible to write a query containing a NOT/NOT IN operator. In our case we want to select the highest job from a table that is not in failed or completed state. This can not be done (ok, this example is a bit too easy, but in our project we have a query that can not be handled).
> {code}
> select max(jobid) from foo where state not in ('COMPLETE', 'FAILED')
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)