| <?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="DEFAULT_TRANSACTIONAL_TYPE Query Option" /> |
| <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="default_transactional_type" /> |
| <link rel="stylesheet" type="text/css" href="../commonltr.css" /> |
| <title>DEFAULT_TRANSACTIONAL_TYPE Query Option</title> |
| </head> |
| <body id="default_transactional_type"> |
| |
| |
| <h1 class="title topictitle1" id="ariaid-title1">DEFAULT_TRANSACTIONAL_TYPE Query Option</h1> |
| |
| |
| |
| |
| |
| |
| <div class="body conbody"> |
| |
| <p class="p"> |
| Use the <code class="ph codeph">DEFAULT_TRANSACTIONAL_TYPE</code> query option to create insert-only |
| transactional tables by default. |
| </p> |
| |
| |
| <div class="note note"><span class="notetitle">Note:</span> |
| The <code class="ph codeph">DEFAULT_TRANSACTIONAL_TYPE</code> query option applies only when integrated |
| with Hive 3. |
| </div> |
| |
| |
| <div class="p"> |
| The supported values are: |
| <ul class="ul"> |
| <li class="li"> |
| <code class="ph codeph">NONE</code>: The table will not be created as transactional. |
| </li> |
| |
| |
| <li class="li"> |
| <code class="ph codeph">INSERT_ONLY</code>: The table will be created as transactional. See |
| <a class="xref" href="impala_transactions.html#transactions">Impala Transactions</a> for details. |
| </li> |
| |
| </ul> |
| |
| </div> |
| |
| |
| <p class="p"> |
| If either table properties, <code class="ph codeph">transactional</code> or |
| <code class="ph codeph">transactional_properties</code>, are set, this query option is ignored. |
| </p> |
| |
| |
| <div class="note note"><span class="notetitle">Note:</span> |
| The <code class="ph codeph">DEFAULT_TRANSACTIONAL_TYPE</code> query option does not affect external, Kudu, |
| or HBase tables as these cannot be transactional. |
| </div> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Type:</strong> Enum as specified above |
| </p> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Default:</strong> <code class="ph codeph">NONE</code> |
| </p> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Added in:</strong> <span class="keyword">Impala 3.3</span> |
| </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> |