This is an automated email from the ASF dual-hosted git repository. tarmstrong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push: new c10113c IMPALA-8172: [DOCS] Documented the NUM_ROWS_PRODUCED_LIMIT query option c10113c is described below commit c10113c6f72ba7a877f9bb67a014537f5d278a44 Author: Alex Rodoni <arod...@cloudera.com> AuthorDate: Thu Feb 7 14:21:17 2019 -0800 IMPALA-8172: [DOCS] Documented the NUM_ROWS_PRODUCED_LIMIT query option Change-Id: Iaf789ef2a01def3febf34f0d483cf4a9a32aecc2 Reviewed-on: http://gerrit.cloudera.org:8080/12396 Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Reviewed-by: Bikramjeet Vig <bikramjeet....@cloudera.com> Reviewed-by: Pooja Nilangekar <pooja.nilange...@cloudera.com> Reviewed-by: Tim Armstrong <tarmstr...@cloudera.com> --- docs/impala.ditamap | 1 + docs/topics/impala_num_rows_produced_limit.xml | 71 ++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/docs/impala.ditamap b/docs/impala.ditamap index ad6b89f..6a443d1 100644 --- a/docs/impala.ditamap +++ b/docs/impala.ditamap @@ -207,6 +207,7 @@ under the License. <topicref rev="2.10.0 IMPALA-3200" href="topics/impala_min_spillable_buffer_size.xml"/> <topicref rev="2.8.0" href="topics/impala_mt_dop.xml"/> <topicref href="topics/impala_num_nodes.xml"/> + <topicref rev="3.2" href="topics/impala_num_rows_produced_limit.xml"/> <topicref href="topics/impala_num_scanner_threads.xml"/> <topicref rev="2.5.0" href="topics/impala_optimize_partition_key_scans.xml"/> <topicref href="topics/impala_parquet_compression_codec.xml"/> diff --git a/docs/topics/impala_num_rows_produced_limit.xml b/docs/topics/impala_num_rows_produced_limit.xml new file mode 100644 index 0000000..8891412 --- /dev/null +++ b/docs/topics/impala_num_rows_produced_limit.xml @@ -0,0 +1,71 @@ +<?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 + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +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"> + + <navtitle>NUM_ROWS_PRODUCED_LIMIT</navtitle> + + </titlealts> + + <prolog> + <metadata> + <data name="Category" value="Impala"/> + <data name="Category" value="Impala Query Options"/> + <data name="Category" value="Scalability"/> + </metadata> + </prolog> + + <conbody> + + <p> + 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. + </p> + + <p> + 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. + </p> + + <p> + The default value of <codeph>0</codeph> specifies that there is no limit on the number of + rows produced. + </p> + + <p> + <b>Type:</b> <codeph>INT</codeph> + </p> + + <p> + <b>Allowed values:</b> 0 or positive numbers + </p> + + <p> + <b>Default:</b> 0 + </p> + + </conbody> + +</concept>