Member since
04-14-2017
3
Posts
0
Kudos Received
0
Solutions
04-16-2017
10:07 PM
We dont have this problem in our dev environment, we are facing the problem only in prod Dev Hive version is 1.2.1.2.3.6.0-3796 Prod Hive version is 1.2.1000.2.5.3.0-37
... View more
04-14-2017
08:27 PM
I've an external table (tbl_external) pointing to s3 location I am trying to insert data into external table using another table (tbl_test) which is not an external table insert into tbl_external select * from tbl_test; But hive is always generating a file with same file name (000000_0) when i run the above insert statement, due to this the file is getting overwritten and the s3 location will always have single file instead of multiple files when i run the insert statements multiple times
How to make hive generate different file names for ex : (000000_0_copy_1, 000000_0_copy_2 etc ..)
... View more
04-14-2017
08:24 PM
I've an external table (tbl_external) pointing to s3 location
I am trying to insert data into external table using another table (tbl_test) which is not an external table
insert into tbl_external select * from tbl_test;
But hive is always generating a file with same file name (000000_0) when i run the above insert statement, due to this the file is getting overwritten and the s3 location will always have single file instead of multiple files when i run the insert statements multiple times
How to make hive generate different file names for ex : (000000_0_copy_1, 000000_0_copy_2 etc ..)
... View more