blob: 11f1a867d1ce1f6884a03fbc4483dde488d5f61e [file] [log] [blame]
<?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 2023" />
<meta name="DC.rights.owner" content="(C) Copyright 2023" />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="JOIN_ROWS_PRODUCED_LIMIT Query Option" />
<meta name="DC.Relation" scheme="URI" content="../topics/impala_query_options.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="join_rows_produced_limit" />
<link rel="stylesheet" type="text/css" href="../commonltr.css" />
<title>JOIN_ROWS_PRODUCED_LIMIT Query Option</title>
</head>
<body id="join_rows_produced_limit">
<h1 class="title topictitle1" id="ariaid-title1">JOIN_ROWS_PRODUCED_LIMIT Query Option</h1>
<div class="body conbody">
<p class="p">
The <code class="ph codeph">JOIN_ROWS_PRODUCED_LIMIT</code> query option limits the number of join
rows produced by a join node and is used to prevent runaway join queries. A query
is canceled when any one of the joins in the query produces more rows (totaled across
all instances of that join) than the specified limit set by the
<code class="ph codeph">JOIN_ROWS_PRODUCED_LIMIT</code> option.
</p>
<p class="p">
This limit is checked periodically, so it is possible that the actual number of rows
produced may be slightly higher than the limit.
</p>
<p class="p">
The default value of <code class="ph codeph">0</code> specifies that there is no limit on the number of
join rows produced.
</p>
<p class="p">
<strong class="ph b">Type:</strong> <code class="ph codeph">BIGINT</code>
</p>
<p class="p">
<strong class="ph b">Allowed values:</strong> 0 or positive numbers
</p>
<p class="p">
<strong class="ph b">Default:</strong> 0
</p>
<p class="p">
<strong class="ph b">Added in:</strong> <span class="keyword">Impala 4.0</span>
</p>
</div>
<div class="related-links">
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_query_options.html">Query Options for the SET Statement</a></div>
</div>
</div></body>
</html>