I have a Hive statement as below:
INSERT INTO TABLE myTable partioned (myDate) SELECT * from myOthertable
myOthertable
contains 1 million records and, while executing the above Insert, not all rows are inserted into myTable
. As it is a SELECT *
query without any WHERE
clause ideally the Insert should be done for all the rows from myOthertable
into myTable
. It ignores some of the rows while inserting.
Can anyone suggest why this is happening?