insert into TABLE_A (所有列)
select *,${hiveconf:work_dt} from XXXX;
写
insert into TABLE_A values(
select *,${hiveconf:work_dt} from XXXX);报错通不过
解决了
insert into TABLE_A
select *,${hiveconf:work_dt} from XXXX;
不要写*或者列名,也不要values,直接跟select就可以
insert into TABLE_A (所有列)
select *,${hiveconf:work_dt} from XXXX;
写
insert into TABLE_A values(
select *,${hiveconf:work_dt} from XXXX);报错通不过
解决了
insert into TABLE_A
select *,${hiveconf:work_dt} from XXXX;
不要写*或者列名,也不要values,直接跟select就可以