I want to load a table with input data into hive. I have data in the following format.
\"153662\";\"0002241447\";\"0\" \"153662\";\"000647036X\";\"0\" \"153
You will have to use Csv-Serde for this.
CREATE TABLE Table(A varchar(50),B varchar(50),C varchar(50)) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde' WITH SERDEPROPERTIES ( "separatorChar" = ";", "quoteChar" = "\"" ) STORED AS TEXTFILE;