Top "Hiveddl" questions

Use this tag for questions about Apache Hive Data Definition Language.

how to add columns to existing hive partitioned table?

alter table abc add columns (stats1 map<string,string>, stats2 map<string,string>) i have altered …

hive partitioning hive-partitions hiveddl
Does DROP PARTITION delete data from external table in HIVE?

An external table in HIVE is partitioned on year, month and day. So does the following query delete data from …

hive external-tables hive-partitions hiveddl
How to truncate a partitioned external table in hive?

I'm planning to truncate the hive external table which has one partition. So, I have used the following command to …

hive external-tables hive-partitions hiveddl
How to create an empty copy of a table in hive

I have a table with lots of columns. I don't want to write something like CREATE TABLE IF NOT EXISTS …

hive create-table hiveddl