Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following two - dimensional data cube. The data cube contains information about that parts that can be shipped by the suppliers. Download and
Consider the following twodimensional data cube.
The data cube contains information about that parts that can be shipped by the suppliers.
Download and unzip a file taskzip. You should obtain a folder task with the
following files: part.tbl supplier.tbl partsupp.tbl
Use an editor to examine the contents of tbl files. Note, that the contents of the files
can be loaded into the relational tables obtained from the transformation of the two
dimensional data cube given above into the relational table PART, SUPPLIER, and
PARTSUPP.
Transfer the files into HDFS
Implement HQL script solutionhql that creates the external tables obtained from
a step of logical design performed earlier. The external tables must overlap on the files
transferred to HDFS in the previous step. Note, that a header in each tbl file must be
removed before creating the external tables.
Include into solutionhql script SELECT statements that any rows from each
one of the external tables implemented in the previous step and the total number of rows
included in each table.
When ready, use a command line interface beeline to process a script
solutionhql and to save a report from processing in a file solutionrpt
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started