Hi All,
I am reading a csv file with special characters
I have tried the option but the special characters still show up in hive as ? in a diamond shape.
CREATE EXTERNAL TABLE
)
.......
)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
WITH SERDEPROPERTIES
(
'quoteChar'='"',
'separatorChar'=',',
'serialization.encoding'='windows-1252'
)
STORED AS TEXTFILE
LOCATION '..................';
TBLPROPERTIES('serialization.encoding'='windows-1252');
In csv file:
Not sure what else to do
Appreciate your help!