Files
impala/docs/topics/impala_query_timeout_s.xml
Jim Apple 3be0f122a5 IMPALA-3398: Add docs to main Impala branch.
These are refugees from doc_prototype. They can be rendered with the
DITA Open Toolkit version 2.3.3 by:

/tmp/dita-ot-2.3.3/bin/dita \
  -i impala.ditamap \
  -f html5 \
  -o $(mktemp -d) \
  -filter impala_html.ditaval

Change-Id: I8861e99adc446f659a04463ca78c79200669484f
Reviewed-on: http://gerrit.cloudera.org:8080/5014
Reviewed-by: John Russell <jrussell@cloudera.com>
Tested-by: John Russell <jrussell@cloudera.com>
2016-11-17 22:38:44 +00:00

57 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept rev="2.0.0" id="query_timeout_s">
<title>QUERY_TIMEOUT_S Query Option (<keyword keyref="impala20"/> or higher only)</title>
<titlealts audience="PDF"><navtitle>QUERY_TIMEOUT_S</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 rev="2.0.0">
<indexterm audience="Cloudera">QUERY_TIMEOUT_S query option</indexterm>
Sets the idle query timeout value for the session, in seconds. Queries that sit idle for longer than the
timeout value are automatically cancelled. If the system administrator specified the
<codeph>--idle_query_timeout</codeph> startup option, <codeph>QUERY_TIMEOUT_S</codeph> must be smaller than
or equal to the <codeph>--idle_query_timeout</codeph> value.
</p>
<note conref="../shared/impala_common.xml#common/timeout_clock_blurb"/>
<p conref="../shared/impala_common.xml#common/syntax_blurb"/>
<codeblock>SET QUERY_TIMEOUT_S=<varname>seconds</varname>;</codeblock>
<!-- Don't have a compelling example to show at this time because the 'idle' aspect only applies
when the client is careless and leaves the query open. Can't easily demonstrate in impala-shell.
<p conref="../shared/impala_common.xml#common/example_blurb"/>
-->
<p>
<b>Type:</b> numeric
</p>
<p>
<b>Default:</b> 0 (no timeout if <codeph>--idle_query_timeout</codeph> not in effect; otherwise, use
<codeph>--idle_query_timeout</codeph> value)
</p>
<p conref="../shared/impala_common.xml#common/added_in_20"/>
<p conref="../shared/impala_common.xml#common/related_info"/>
<p>
<xref href="impala_timeouts.xml#timeouts"/>
</p>
</conbody>
</concept>