Hive supports transactions by setting the correct parameters.
To enable transactions, the following configurations need to be set.
These configuration parameters must be set appropriately to turn on transaction support in Hive:
Use this specific table format:
CREATE TABLE table_one (
keyField
valueFieldOne
valueFieldTwo
int,
string,
string
)
CLUSTERED BY (keyField) INTO x BUCKETS
STORED AS orc
TBLPROPERTIES('transactional' = 'true');
Return to home | Generated on 09/29/22