You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2018/11/17 02:08:44 UTC

[6/7] impala git commit: [DOCS] Added a note in impala_scan_bytes_limit.xml

[DOCS] Added a note in impala_scan_bytes_limit.xml

- Added a note that queries can scan over the limit of this option
at times.

Change-Id: Id20f952622ce553d9c1f47e469d97a3b4c19683f
Reviewed-on: http://gerrit.cloudera.org:8080/11936
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Bikramjeet Vig <bi...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/a47b3b82
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/a47b3b82
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/a47b3b82

Branch: refs/heads/master
Commit: a47b3b82c4288d324c3917c2b1a1f8a409958191
Parents: d3948d9
Author: Alex Rodoni <ar...@cloudera.com>
Authored: Thu Nov 15 13:08:41 2018 -0800
Committer: Alex Rodoni <ar...@cloudera.com>
Committed: Thu Nov 15 23:13:38 2018 +0000

----------------------------------------------------------------------
 docs/topics/impala_scan_bytes_limit.xml | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/a47b3b82/docs/topics/impala_scan_bytes_limit.xml
----------------------------------------------------------------------
diff --git a/docs/topics/impala_scan_bytes_limit.xml b/docs/topics/impala_scan_bytes_limit.xml
index 5fc4a8a..e67c971 100644
--- a/docs/topics/impala_scan_bytes_limit.xml
+++ b/docs/topics/impala_scan_bytes_limit.xml
@@ -20,8 +20,7 @@ under the License.
 <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
 <concept id="scan_bytes_limit">
 
-  <title>SCAN_BYTES_LIMIT Query Option (<keyword keyref="impala31"/> or higher
-    only)</title>
+  <title>SCAN_BYTES_LIMIT Query Option (<keyword keyref="impala31"/> or higher only)</title>
 
   <titlealts audience="PDF">
 
@@ -44,8 +43,8 @@ under the License.
   <conbody>
 
     <p>
-      The <codeph>SCAN_BYTES_LIMIT</codeph> query option sets a time limit on the bytes scanned
-      by HDFS and HBase SCAN operations. If a query is still executing when the query’s
+      The <codeph>SCAN_BYTES_LIMIT</codeph> query option sets a limit on the bytes scanned by
+      HDFS and HBase SCAN operations. If a query is still executing when the query’s
       coordinator detects that it has exceeded the limit, the query is terminated with an error.
       The option is intended to prevent runaway queries that scan more data than is intended.
     </p>
@@ -60,7 +59,7 @@ under the License.
       Admission Control and Query Queuing</xref> for information about default query options).
       If a user accidentally omits a partition filter in a <codeph>WHERE</codeph> clause and
       runs a large query that scans a lot of data, the query will be automatically terminated
-      after the time limit expires to free up resources.
+      after it scans more data than the <codeph>SCAN_BYTES_LIMIT</codeph>.
     </p>
 
     <p>
@@ -89,6 +88,10 @@ under the License.
     </p>
 
     <p>
+      Because the checks are done periodically, the query may scan over the limit at times.
+    </p>
+
+    <p>
       <b>Syntax:</b> <codeph>SET SCAN_BYTES_LIMIT=bytes;</codeph>
     </p>