[ https://issues.apache.org/jira/browse/METAMODEL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950011#comment-14950011 ]
ASF GitHub Bot commented on METAMODEL-194: ------------------------------------------ Github user asfgit closed the pull request at: 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 > > 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)