Repository: impala Updated Branches: refs/heads/master 1dcc6c1be -> da7f865f0
IMPALA-6912: [DOCS] A new query option COMPUTE_STATS_MIN_SAMPLE_SIZE Change-Id: Ibd6f55a4c6c99185baf7974f68935ba4e03579df Reviewed-on: http://gerrit.cloudera.org:8080/10172 Reviewed-by: Alex Behm <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/impala/repo Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/da7f865f Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/da7f865f Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/da7f865f Branch: refs/heads/master Commit: da7f865f058c6860b639baaf74d3f33abfd2bf04 Parents: 1dcc6c1 Author: Alex Rodoni <[email protected]> Authored: Mon Apr 23 22:10:53 2018 -0700 Committer: Impala Public Jenkins <[email protected]> Committed: Tue Apr 24 05:37:53 2018 +0000 ---------------------------------------------------------------------- docs/impala.ditamap | 1 + docs/impala_keydefs.ditamap | 1 + .../impala_compute_stats_min_sample_size.xml | 47 ++++++++++++++++++++ 3 files changed, 49 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/impala/blob/da7f865f/docs/impala.ditamap ---------------------------------------------------------------------- diff --git a/docs/impala.ditamap b/docs/impala.ditamap index abf7bdb..99bc6ac 100644 --- a/docs/impala.ditamap +++ b/docs/impala.ditamap @@ -175,6 +175,7 @@ under the License. <topicref href="topics/impala_batch_size.xml"/> <topicref rev="2.10.0 IMPALA-3200" href="topics/impala_buffer_pool_limit.xml"/> <topicref href="topics/impala_compression_codec.xml"/> + <topicref href="topics/impala_compute_stats_min_sample_size.xml"/> <topicref href="topics/impala_debug_action.xml"/> <topicref rev="2.9.0" href="topics/impala_decimal_v2.xml"/> <topicref rev="2.9.0 IMPALA-5381" href="topics/impala_default_join_distribution_mode.xml"/> http://git-wip-us.apache.org/repos/asf/impala/blob/da7f865f/docs/impala_keydefs.ditamap ---------------------------------------------------------------------- diff --git a/docs/impala_keydefs.ditamap b/docs/impala_keydefs.ditamap index 8faea8e..8bee634 100644 --- a/docs/impala_keydefs.ditamap +++ b/docs/impala_keydefs.ditamap @@ -10776,6 +10776,7 @@ under the License. <keydef href="topics/impala_batch_size.xml" keys="batch_size"/> <keydef rev="2.10.0 IMPALA-3200" href="topics/impala_buffer_pool_limit.xml" keys="buffer_pool_limit"/> <keydef href="topics/impala_compression_codec.xml" keys="compression_codec"/> + <keydef href="topics/impala_compute_stats_min_sample_size.xml" keys="comute_stats_min_sample_size"/> <keydef href="topics/impala_debug_action.xml" keys="debug_action"/> <keydef href="topics/impala_default_join_distribution_mode.xml" keys="default_join_distribution_mode"/> <keydef rev="2.10.0 IMPALA-3200" href="topics/impala_default_spillable_buffer_size.xml" keys="default_spillable_buffer_size"/> http://git-wip-us.apache.org/repos/asf/impala/blob/da7f865f/docs/topics/impala_compute_stats_min_sample_size.xml ---------------------------------------------------------------------- diff --git a/docs/topics/impala_compute_stats_min_sample_size.xml b/docs/topics/impala_compute_stats_min_sample_size.xml new file mode 100644 index 0000000..bf29058 --- /dev/null +++ b/docs/topics/impala_compute_stats_min_sample_size.xml @@ -0,0 +1,47 @@ +<?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="compute_stats_sample_min_sample_size" rev="2.12.0"> + <title>COMPUTE_STATS_MIN_SAMPLE_SIZE Query Option</title> + <titlealts audience="PDF"> + <navtitle>COMPUTE_STATS_MIN_SAMPLE_SIZE</navtitle> + </titlealts> + <prolog> + <metadata> + <data name="Category" value="Impala"/> + <data name="Category" value="Impala Query Options"/> + <data name="Category" value="Querying"/> + <data name="Category" value="Developers"/> + <data name="Category" value="Data Analysts"/> + </metadata> + </prolog> + <conbody> + <p>The <codeph>COMPUTE_STATS_MIN_SAMPLE_SIZE</codeph> query option specifies + the minimum number of bytes that will be scanned in <codeph>COMPUTE STATS + TABLESAMPLE</codeph>, regardless of the user-supplied sampling percent. + This query option prevents sampling for very small tables where accurate + stats can be obtained cheaply without sampling because the minimum sample + size is required to get meaningful stats.</p> + <p conref="../shared/impala_common.xml#common/type_integer"/> + <p><b>Default:</b> 1GB</p> + <p><b>Added in</b>: <keyword keyref="impala212_full"/></p> + <p conref="../shared/impala_common.xml#common/usage_notes_blurb"/> + </conbody> +</concept>
