Hadoop數據遷入到Hive

由於很多數據hadoop平臺,當從hadoop平臺的數據遷移到hive目錄下時,由於hive默認的分隔符是\,爲了平滑遷移,需要在創建表格時指定數據的分割符號,語法如下: create table test(uid string,name string)row format delimited fields terminated by '\t'; 通過這種方式,完成分隔符的指定。 然後通過hado
相關文章
相關標籤/搜索