Reputation: 613
When i tried to select count(*) from table
in hive . the job is stuck as shown in the screenshot. Please advise. Did I miss the setting somewhere.
But I am able to select based on where conditon.
Upvotes: 0
Views: 5490
Reputation: 1583
First, set use of stats for small queries to false.
set hive.compute.query.using.stats=false
Then, run select count(*) from table
code, it should work.
Upvotes: 3