Hive DDL Commands Create Database Statement A database in Hive is a namespace or a collection of tables. hive> CREATE SCHEMA userdb;…
pig
-
-
Hive Join Let’s see two tables Employee and EmployeeDepartment that are going to be joined. Inner joins Select * from employee join…
-
Hive DML Commands To understand the Hive DML commands, let’s see the employee and employee_department table first. LOAD DATA hive> LOAD DATA…
-
Hive Sort By vs Order By Hive sort by and order by commands are used to fetch data in sorted order. The…
-
HIVE Partitioning Table partitioning means dividing table into some parts based on values of a particular column like date or country, segregate…
-
Hive Commands Hive supports Data definition Language(DDL), Data Manipulation Language(DML) and User defined functions. Hive DDL Commands create database drop database create…
-
Apache Hive Installation In this section, we will perform the Hive installation. Pre-requisite Java Installation – Check whether the Java is installed…
-
Apache Pig SQRT Function The Apache Pig SQRT function is used to find out the square root of the given value. It…
-
Apache Pig LOAD Operator The Apache Pig LOAD operator is used to load the data from the file system. Syntax LOAD ‘info’…
-
Apache Pig LOG Function The Apache Pig LOG function is used to return the natural logarithm (base e) of an expression. Syntax…