开发者社区> 问答> 正文

hive中的avg聚合函数是否可以使用combiner功能?

select deptno, sum(sal) as sum_sal from emp group by deptno; -- 这个SQL肯定是可以使用到Combiner功能的

select deptno, avg(sal) as avg_sal from emp group by deptno; -- 这个可以使用上吗? 之前学习combiner功能时, 说不能处理avg这种函数的

展开
收起
菜鸟coder 2018-11-23 21:30:58 2639 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Comparison of Spark SQL with Hive 立即下载
Hive Bucketing in Apache Spark 立即下载
2019大数据技术公开课第五季—Hive迁移到MaxCompute最佳实践 立即下载