Member since
10-06-2017
11
Posts
0
Kudos Received
0
Solutions
10-07-2017
03:03 AM
I have Quickstart VM and trying to load data, but all data is stored to first column. What is wrong? /*CREATE TABLE -- Table will be succesfully created*/ CREATE TABLE IF NOT EXISTS Auto_Insurance_Claims_US (Customer String,Country String,StateCode String,State String,ClaimAmount Float,Response String,Coverage String,Education String,EffectiveToDate String,EmploymentStatus String,Gender String,Income String,LocationCode String,MaritalStatus String,MonthlyPremiumAuto String,MonthsSinceLastClaim String,MonthsSincePolicyInception String,NumberOfOpenComplaints Int,NumberOfPolicies Int,PolicyType String,Policy String,ClaimReason String,SalesChannel String,TotalClaimAmount Float,VehicleClass String,VehicleSize String) ROW FORMAT DELIMITED STORED AS TEXTFILE /*LOAD -- All lines of data loaded, but they are all stored to first column Customer*/ LOAD DATA LOCAL INPATH '/home/cloudera/workspace/MyData/Auto_Insurance_Claims_Sample.csv' OVERWRITE INTO TABLE Auto_Insurance_Claims_US;
... View more
Labels:
- Labels:
-
Apache Hive
10-06-2017
02:39 AM
I'm new with Cloudera Enterprise Data Hub. I would like to create simple hive table. How to do?
... View more
Labels:
- Labels:
-
Apache Hive