We will learn how to add multiple partitions to hive table using msck repair table command in hive.
In this blog, we will learn how to insert data in partitions in hive table. We will write queries to insert data in static as well as dynamic partitions.
With Bucketing in Hive, we can group similar kinds of data and write it to one single file. This allows better performance while reading data & when joining two tables.
We have created partitioned tables, inserted data into them. Now, we will learn how to drop some partition or add a new partition to the table in hive.
Hive supports Static and Dynamic Partitions. Let us understand what is difference between them and their use cases.
Using Partitioning, We can increase hive query performance. But if we do not choose partitioning column correctly it can create small file issue.
We will learn how to load and populate data to hive table. We will also learn how to copy data to hive tables from local system.
We will learn how to create Hive tables, also altering table columns, adding comments and table properties and deleting Hive tables.
We will learn how to create databases in Hive with simple operations like listing database, setting database location in HDFS & deleting database.
Hive supports multiple data types like SQL. On top of that, there are multiple complex data types in hive which makes it easy to process data in Hive.
Hive has two types of tables, external and managed. In this blog, we will learn about them and decide which use case is suitable for each table.
There are multiple use cases when we need to transpose/pivot table and Hive does not provide us with easy function to do so. Let me show you workaround for how to pivot table in hive.