Hive
Run script file
$ hive -f script.hqlRun non-interactiv query
$ hive -e "<query>"Metadata
show tables;
describe extended <table>
describe formatted <table>
show partitions <table>Create database
create database <db>Use database
Create Hive managed table
Create externally managed table
Create table with partitions
Create table with buckets
Create table with different text delimiters (for TEXTFILE format)
Create table with a different storage format
Create external table
Create table as select
Create table with the same schema
Create transactional table
Drop table
Truncate table
Load data from local FS
Load data from HDFS
Load/Insert into partition dynamicaly
Insert data values
Insert data as select
Insert compressed data
Update
Delete data
Alter table add column
Alter table rename
Alter table drop column
Select
Select and sort globally
Select and sort per reducer
Joins
Inner join
Outer join
Cross join
Change execution engine
Optimizations
vectorization
Debug
Explain
Last updated