blob: 51be5bf429a5e8f8d146ede2cec6e4161f94b5c2 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="default_transactional_type">
<title>DEFAULT_TRANSACTIONAL_TYPE Query Option</title>
<titlealts audience="PDF">
<data name="Category" value="Impala"/>
<data name="Category" value="Impala Query Options"/>
Use the <codeph>DEFAULT_TRANSACTION_TYPE</codeph> query option to create insert-only
transactional tables by default.
The <codeph>DEFAULT_TRANSACTION_TYPE</codeph> query option applies only when integrated
with Hive 3.
The supported values are:
<codeph>NONE</codeph>: The table will not be created as transactional.
<codeph>INSERT_ONLY</codeph>: The table will be created as transactional. See
<xref href="impala_transactions.xml#transactions"/> for details.
If either table properties, <codeph>transactional</codeph> or
<codeph>transactional_properties</codeph>, are set, this query option is ignored.
The <codeph>DEFAULT_TRANSACTION_TYPE</codeph> query option does not affect external, Kudu,
or HBase tables as these cannot be transactional.
<b>Type:</b> Enum as specified above
<b>Default:</b> <codeph>NONE</codeph>
<b>Added in:</b> <keyword keyref="impala33"/>