Hive中,采用追加的方式为表添加数据,原始数据位于HDFS目录下/cleanweblogs,添加到表logs的分区logdate=201905,正确的语句是()。
(A)load data local inpath '/cleanweblogs' into table logs partition (logdate = '20 1905');
(B)load data inpath '/cleanweblogs' into table logs partition (logdate = '201905');
(C)load data inpath '/cleanweblogs' into table logs(logdate = '201905');
(D)load data local inpath '/cleanweblogs' into table logs(logdate = '201905');
查看解析
参考答案
继续答题:下一题