blob: 93e24ca85dbd84b4a573682342d82efe9d919017 [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 2024" />
<meta name="DC.rights.owner" content="(C) Copyright 2024" />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="REFRESH FUNCTIONS Statement" />
<meta name="DC.Relation" scheme="URI" content="../topics/impala_langref_sql.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="refresh" />
<link rel="stylesheet" type="text/css" href="../commonltr.css" />
<title>REFRESH FUNCTIONS Statement</title>
</head>
<body id="refresh">
<h1 class="title topictitle1" id="ariaid-title1">REFRESH FUNCTIONS Statement</h1>
<div class="body conbody">
<p class="p">
In <span class="keyword">Impala 2.9</span> and higher, you can run the <code class="ph codeph">REFRESH
FUNCTIONS</code> statement to refresh the user-defined functions (UDFs) created outside
of Impala. For example, you can add Java-based UDFs to the metastore database through the
Hive <code class="ph codeph">CREATE FUNCTION</code> statements and make those UDFs visible to Impala at
the database level by subsequently running <code class="ph codeph">REFRESH FUNCTIONS</code>.
</p>
<p class="p">
The <code class="ph codeph">REFRESH FUNCTIONS</code> statement is only required if you create or modify
UDFs from outside of Impala. Updated metadata, as a result of running <code class="ph codeph">REFRESH
FUNCTIONS</code>, is broadcast to all Impala coordinators.
</p>
<p class="p">
Once issued, the <code class="ph codeph">REFRESH FUNCTIONS</code> statement cannot be cancelled.
</p>
<p class="p">
<strong class="ph b">Syntax:</strong>
</p>
<p class="p">
<span class="ph"><code class="ph codeph">REFRESH FUNCTIONS</code>
<var class="keyword varname">db_name</var></span>
</p>
</div>
<div class="related-links">
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_langref_sql.html">Impala SQL Statements</a></div>
</div>
</div></body>
</html>