| <?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="DISABLE_CODEGEN Query Option" /> |
| <meta name="DC.Relation" scheme="URI" content="../topics/impala_set.html" /> |
| <meta name="prodname" content="Impala" /> |
| <meta name="prodname" content="Impala" /> |
| <meta name="version" content="Impala 3.4.x" /> |
| <meta name="version" content="Impala 3.4.x" /> |
| <meta name="DC.Format" content="XHTML" /> |
| <meta name="DC.Identifier" content="disable_codegen" /> |
| <link rel="stylesheet" type="text/css" href="../commonltr.css" /> |
| <title>DISABLE_CODEGEN Query Option</title> |
| </head> |
| <body id="disable_codegen"> |
| |
| |
| <h1 class="title topictitle1" id="ariaid-title1">DISABLE_CODEGEN Query Option</h1> |
| |
| |
| |
| |
| |
| |
| <div class="body conbody"> |
| |
| <p class="p"> |
| The <code class="ph codeph">DISABLE_CODEGEN</code> is a debug option, and it's used to work around any |
| issues with Impala's runtime code generation. If a query fails with an <span class="q">"illegal |
| instruction"</span> or other hardware-specific message, try setting |
| <code class="ph codeph">DISABLE_CODEGEN=true</code> and running the query again. If the query succeeds |
| only when the <code class="ph codeph">DISABLE_CODEGEN</code> option is turned on, submit the problem to |
| <span class="keyword"> the appropriate support channel</span> and include that detail in the problem report. |
| </p> |
| |
| |
| <p class="p"> |
| Most queries will run significantly slower with <code class="ph codeph">DISABLE_CODEGEN=true</code>. |
| </p> |
| |
| |
| <p class="p"> |
| In Impala 2.10 and higher, the <code class="ph codeph">DISABLE_CODEGEN_ROWS_THRESHOLD</code> |
| optimisation automatically disables codegen for small queries because short-running |
| queries may run faster without the overhead of codegen. |
| </p> |
| |
| |
| <div class="p"> |
| The following values are supported: |
| <ul class="ul"> |
| <li class="li"> |
| <code class="ph codeph">TRUE</code> or <code class="ph codeph">1</code>: Disables codegen. |
| </li> |
| |
| |
| <li class="li"> |
| <code class="ph codeph">FALSE</code> or <code class="ph codeph">0</code>: Enables codegen. |
| </li> |
| |
| </ul> |
| |
| </div> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Type:</strong> Boolean |
| </p> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Default:</strong> <code class="ph codeph">false</code> (shown as 0 in output of <code class="ph codeph">SET</code> |
| statement) |
| </p> |
| |
| |
| </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> |