Create Table in Hive with one file

Viewed 4339

I'm creating a new table in Hive using:

CREATE TABLE new_table AS select * from old_table;

My problem is that after the table is created, It generates multiple files for each partition - while I want only one file for each partition.

How can I define it in the table? Thank you!

1 Answers
Related