mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
Change-Id: I07ec0a197de8a625788a3b0485d5ecf237e554ba Reviewed-on: http://gerrit.cloudera.org:8080/22576 Reviewed-by: Zoltan Borok-Nagy <boroknagyz@cloudera.com> Tested-by: Peter Rozsa <prozsa@cloudera.com>
93 lines
3.0 KiB
HTML
93 lines
3.0 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!DOCTYPE html
|
||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||
|
||
<meta name="copyright" content="(C) Copyright 2025" />
|
||
<meta name="DC.rights.owner" content="(C) Copyright 2025" />
|
||
<meta name="DC.Type" content="concept" />
|
||
<meta name="DC.Title" content="KUDU_READ_MODE Query Option (Impala 3.1 or higher only)" />
|
||
<meta name="DC.Relation" scheme="URI" content="../topics/impala_set.html" />
|
||
<meta name="prodname" content="Impala" />
|
||
<meta name="version" content="Impala 3.4.x" />
|
||
<meta name="DC.Format" content="XHTML" />
|
||
<meta name="DC.Identifier" content="kudu_read_mode" />
|
||
<link rel="stylesheet" type="text/css" href="../commonltr.css" />
|
||
<title>KUDU_READ_MODE Query Option (Impala 3.1 or higher only)</title>
|
||
</head>
|
||
<body id="kudu_read_mode">
|
||
|
||
|
||
<h1 class="title topictitle1" id="ariaid-title1">KUDU_READ_MODE Query Option (<span class="keyword">Impala 3.1</span> or higher only)</h1>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="body conbody">
|
||
|
||
<p class="p">
|
||
The <code class="ph codeph">KUDU_READ_MODE</code> query option allows you to set a desired consistency
|
||
level for scans of Kudu tables.
|
||
</p>
|
||
|
||
|
||
<p class="p">
|
||
<strong class="ph b">Type:</strong> String
|
||
</p>
|
||
|
||
|
||
<p class="p">
|
||
<strong class="ph b">Default:</strong> <code class="ph codeph">"DEFAULT"</code>
|
||
</p>
|
||
|
||
|
||
<p class="p">
|
||
<strong class="ph b">Added in:</strong> <span class="keyword">Impala 3.1</span>
|
||
</p>
|
||
|
||
|
||
<p class="p">
|
||
<strong class="ph b">Usage notes:</strong>
|
||
</p>
|
||
|
||
|
||
<div class="p">
|
||
The following values are supported for the query option:
|
||
<ul class="ul">
|
||
<li class="li">
|
||
<code class="ph codeph">"DEFAULT"</code>: The value of the startup flag,
|
||
<code class="ph codeph">‑‑kudu_read_mode</code>, is used. </li>
|
||
|
||
|
||
<li class="li">
|
||
<code class="ph codeph">"READ_LATEST"</code>: Commonly known as the Read Committed isolation mode,
|
||
in this mode, Kudu provides no consistency guarantees for this mode, except that all
|
||
returned rows were committed at some point.
|
||
</li>
|
||
|
||
|
||
<li class="li">
|
||
<code class="ph codeph">"READ_AT_SNAPSHOT"</code>: Kudu will take a snapshot of the current state of
|
||
the data and perform the scan over the snapshot, possibly after briefly waiting for
|
||
ongoing writes to complete. This provides "Read Your Writes" consistency within a
|
||
single Impala session, except in the case of a Kudu leader change. See the Kudu
|
||
documentation for more details.
|
||
</li>
|
||
|
||
</ul>
|
||
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
<div class="related-links">
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_set.html">SET Statement</a></div>
|
||
</div>
|
||
</div></body>
|
||
</html> |