How does Hive decide when to use map reduce and when not to?

前端 未结 4 683
谎友^
谎友^ 2020-12-09 20:57

As a simple example,

select * from tablename;

DOES NOT kick in map reduce, while

select count(*) from tablename;

4条回答
  •  独厮守ぢ
    2020-12-09 21:29

    select * from tablename;

    Just reads raw data from files in HDFS, so it is much faster without MapReduce.

提交回复
热议问题