Inserting Data into Hive Table

后端 未结 11 1183
失恋的感觉
失恋的感觉 2020-12-14 17:01

I am new to hive. I have successfully setup a single node hadoop cluster for development purpose and on top of it, I have installed hive and pig.

I created a dummy t

11条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-14 17:42

    to insert ad-hoc value like (12,"xyz), do this:

    insert into table foo select * from (select 12,"xyz")a;
    

提交回复
热议问题