$ hdfs dfs -mkdir /store creates a directory called /store in HDFS. Hive commands are used to create a database called hive_part, a table called temp to load the Transactions.csv file, and a partitioned table called transaction_part on the fields Store_type. Data is inserted from temp into transaction_part where Qty > 2 and finally the data where Store_type is "e-Shop" is inserted into HDFS directory /store.
$ hdfs dfs -mkdir /store creates a directory called /store in HDFS. Hive commands are used to create a database called hive_part, a table called temp to load the Transactions.csv file, and a partitioned table called transaction_part on the fields Store_type. Data is inserted from temp into transaction_part where Qty > 2 and finally the data where Store_type is "e-Shop" is inserted into HDFS directory /store.
$ hdfs dfs -mkdir /store creates a directory called /store in HDFS. Hive commands are used to create a database called hive_part, a table called temp to load the Transactions.csv file, and a partitioned table called transaction_part on the fields Store_type. Data is inserted from temp into transaction_part where Qty > 2 and finally the data where Store_type is "e-Shop" is inserted into HDFS directory /store.