0
点赞
收藏
分享

微信扫一扫

hive中设置查询不启动mapreduce作业(默认不启动)hive-site.xml关键配置

A邱凌 2022-12-06 阅读 132

<property>



<name>hive.fetch.task.conversion</name>



<value>more</value>



<description>



Expects one of [none, minimal, more].



Some select queries can be converted to single FETCH task minimizing latency.



Currently the query should be single sourced not having any subquery and should not have



any aggregations or distincts (which incurs RS), lateral views and joins.



0. none : disable hive.fetch.task.conversion



1. minimal : SELECT STAR, FILTER on partition columns, LIMIT only



2. more : SELECT, FILTER, LIMIT only (support TABLESAMPLE and virtual columns)



</description>



</property>

举报

相关推荐

0 条评论