Member since
08-18-2017
2
Posts
0
Kudos Received
0
Solutions
08-18-2017
10:28 AM
https://hortonworks.com/hadoop-tutorial/using-hive-with-orc-from-apache-spark/ customer.zip above is the link to the csv file and table-columns-for-retails.txt gives the table description for customer table.. I intend to create and load this data into a hive table .
... View more
08-18-2017
07:35 AM
Sir, i have performed all the steps in ur article until creating a schema. I am using a customer.csv file and want to upload into hive table with struct data types like case class customerClass(customer_id INT,customer_name STRING,addresses map<string,struct<street_1:string,
street_2:string,city:string,state:string,zip_code:string>>,orders array<struct<order_id:string,order_date:string,
items:array<struct<product_id:int,sku:string,name:string,price:double,qty:int>>>>). but im getting an error as in screenshot attached , sir , i am through with creating and storing the customer.csv file as an orc file and creating an rdd for the same.. but when i try to create a schema for customerClass i get an error saying ": " expected buty identifier found. I want to create the customer table with struct data type
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)