I want to create and populate a hive table without loading anything from disk.
Specifically, I have
set idlist = (1,2,3); set values = (2,3,5);
create table my_table(id int, value int); insert overwrite table my_table select a.id as id, b.value as value from ( select count(*) from my_table ) t lateral view explode(array(1,2,3)) a as id lateral view explode(array(2,3,5)) b as value;