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

Kasper Sørensen resolved METAMODEL-194.
---------------------------------------
    Resolution: Fixed
      Assignee: Kasper Sørensen

Fixed with PR: https://github.com/apache/metamodel/pull/57

> Max rows property of query cannot be 0
> --------------------------------------
>
>                 Key: METAMODEL-194
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-194
>             Project: Apache MetaModel
>          Issue Type: Bug
>            Reporter: Kasper Sørensen
>            Assignee: Kasper Sørensen
>
> Query.setMaxRows(Integer) has a check to see that the value is correct. But 
> for some reason it does not allow max rows = 0. In my opinion it should be 
> possible to define and execute a query with max rows = 0. It would just 
> always return an empty DataSet. But from our perspective we shouldn't 
> prohibit it becuase the query may be created by some tool or dynamic code in 
> which case allowing 0 may make sense.



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

Reply via email to