Month: February 2023

Section 6:57. Overview of beeline – Alternative to Hive CLI

Beeline is a command-line interface (CLI) for interacting with Apache Hive, an open-source data warehouse system built on top of Hadoop. It is an alternative to the original Hive CLI, which has some limitations and can be difficult to use. Beeline provides a more modern and flexible interface for interacting with Hive. One of the …

Section 6:57. Overview of beeline – Alternative to Hive CLI Read More »

Section 6:55. Retrieve Metadata of Hive Tables using Describe(Extended and Formatted)

In Hive, you can use the DESCRIBE command to retrieve metadata about a table. The DESCRIBE command provides information about the columns in the table, their data types, and other properties. You can use two different variants of the DESCRIBE command in Hive to get the metadata of a table, which are: DESCRIBE EXTENDED – …

Section 6:55. Retrieve Metadata of Hive Tables using Describe(Extended and Formatted) Read More »

Section 6:54. Creating the first table in Hive and List the tables

To create a table in Hive and list all the tables in the current database, you can use the following commands: Creating a table Replace table_name, column1_name, column2_name, etc. with the names you want to give your table and its columns. Replace data_type with the appropriate data type for each column (e.g. STRING, INT, DOUBLE, …

Section 6:54. Creating the first table in Hive and List the tables Read More »