欢迎投稿

今日深度:

hive 入门,

hive 入门,


hive> select * from ljh_emp;
OK
Time taken: 0.145 seconds
hive> load data local inpath '/usr/local/hive/yc_test/test' into table ljh_emp;
Copying data from file:/usr/local/hive/yc_test/test
Copying file: file:/usr/local/hive/yc_test/test
Loading data to table default.ljh_emp
Table default.ljh_emp stats: [num_partitions: 0, num_files: 1, num_rows: 0, total_size: 51, raw_data_size: 0]
OK
Time taken: 1.944 seconds
hive> select * from ljh_emp;                                                   
OK
ljh	25000.0	male
jediael	25000.0	male
llq	15000.0	female
Time taken: 0.234 seconds, Fetched: 3 row(s)
hive> 
ok

www.htsjk.Com true http://www.htsjk.com/hive/39767.html NewsArticle hive 入门, hive select * from ljh_emp;OKTime taken: 0.145 secondshive load data local inpath '/usr/local/hive/yc_test/test' into table ljh_emp;Copying data from file:/usr/local/hive/yc_test/testCopying file: file:/usr/local/hive/yc_test...
相关文章
    暂无相关文章
评论暂时关闭