It is possible to enable Fetch task in Hive for simple query instead of Map or MapReduce using hive hive.fetch.task.conversion
parameter.
Please explain why Fetch task is running much faster than Map especially when doing some simple work (for example select * from table limit 10;
)? What map-only task is doing additionally in this case? The performance difference is more than 20 times faster in my case. Both tasks should read the table data, isn't it?