Hi,
I have successfully created a table in Hive by ingesting a CSV file, but I cannot query this table with Impala which does not recognize the column with the data type "date":
Create table elections (
id string,
name string,
dt date)
row format delimited
fields terminated by ','
stored as textfile;
LOAD DATA LOCAL INPATH "/home/cloudera/datasets/vox/elections.csv" overwrite INTO TABLE elections ;
I was able to successfully query that table in hive. Below the result of describe within each query editor:
HIVE
![deschive.png deschive.png](https://community.cloudera.com/t5/image/serverpage/image-id/1678i05AA11A840143D55/image-size/large?v=v2&px=999)
IMPALA
![descimpala.png descimpala.png](https://community.cloudera.com/t5/image/serverpage/image-id/1679iCF171BA9513235F0/image-size/large?v=v2&px=999)
Would you be able to explain that difference ? I'm using Hive version 1.1.0 and Impala version 2.3.0
Thanks