Most probably your query without where is using statistics because of this parameter is set:
set hive.compute.query.using.stats=true;
Try to set it false and execute again.
Alternatively you can compute statistics on the table.
See ANALYZE TABLE SYNTAX
Also it’s possible to gather statistics during INSERT OVERWRITE automatically:
set hive.stats.autogather=true;