blob: 8891412b10f1f5286fc89eb05f6759d59388a252 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="num_rows_produced_limit">
<title>NUM_ROWS_PRODUCED_LIMIT Query Option</title>
<titlealts audience="PDF">
<data name="Category" value="Impala"/>
<data name="Category" value="Impala Query Options"/>
<data name="Category" value="Scalability"/>
The <codeph>NUM_ROWS_PRODUCED_LIMIT</codeph> query option limits the number of rows
produced by a query. A query is canceled when its execution produces more rows than the
specified limit set by the <codeph>NUM_ROWS_PRODUCED_LIMIT</codeph> option.
This limit only applies when the results are returned to a client, for example, to a
<codeph>SELECT</codeph> query, but not to an <codeph>INSERT</codeph> query.
The default value of <codeph>0</codeph> specifies that there is no limit on the number of
rows produced.
<b>Type:</b> <codeph>INT</codeph>
<b>Allowed values:</b> 0 or positive numbers
<b>Default:</b> 0