【发布时间】:2018-08-02 12:15:50
【问题描述】:
我是 hadoop hive 的新手。我正在使用开源 hadoop 2.7.1 hive 1.2.2。它安装在 ubuntu 单节点集群上。我在 csv 文件中有 106 行和 30 列数据。我使用以下代码将其导入配置单元表:
CREATE TABLE clinicaldatabc (comp_tcga_id String, gender String, age_inti_diag int, ER_status String, PR_status String, HER2_final_status String, Tumor String, Tumor_T1_code String, Node String, Node_coded String, Metastasis String, Metastasis_coded String, AJCC_Stage String, Converted_stage String, Survival_dt_from String, Vital_Status String, d_to_date_of_last_contact int, d_to_Day_of_Death int, OS_event int,OS_time int, PAM50_mRNA String, SigClust_unsupervised_mRNA int, SigClust_intrinsic_mRNA int, miRNA_clusters int, methylation_clusters int,RPPA_clusters int, CN_clusters int, integrated_clusters_with_PAM50 int, integrated_cluster_no_exp int, integrated_clusters_unsup_exp int)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ',';
然后我得到空列名: first half of returns second half of returns
请帮助我如何解决它。提前谢谢!
【问题讨论】:
标签: hive