2023-09-06 15:15:04 +08:00
|
|
|
LOAD DATA INPATH 'hdfs://namenode:9000/user/hive/project/data1' INTO TABLE tbl1;
|
|
|
|
|
|
|
|
LOAD DATA LOCAL INPATH '/user/hive/project/data1'
|
|
|
|
OVERWRITE INTO TABLE tablename
|
2023-09-11 18:52:25 +08:00
|
|
|
PARTITION (ds='2008-04-08', pt2=2)
|
2023-09-06 15:15:04 +08:00
|
|
|
INPUTFORMAT 'com.apache.hadoop.textInputFormat'
|
|
|
|
SERDE 'JsonSerDe';
|