Professional Documents
Culture Documents
Step 1: World Sales Analysis
Step 1: World Sales Analysis
Step 1: World Sales Analysis
STORED AS TEXTFILE
LOCATION '/user/maria_dev;
Step3 : Loading a data from file to table is the next step.We use
following query
LOAD DATA INPATH '/User/maria_dev/worldSalesData.csv' overwrite INTO
TABLE worldSalesData_external
Scrolling right
All the records present in csv file are now stored in external hive table
From results, it is vivid that Amazon has sold more products through
online mode.