此处Reduce Output Operator 值得是map端,还没要reduce端,不要搞混淆了,只是把map的结果输出给reduce端

Reduce Output Operator 输出结果给Reduce ,
常见的属性

sort order 升序还是降序
key expressions 依据什么进行排序
value expressions 结果列
+ 正序排序
不排序
++按两列正序排序,如果有两列
+- 正反排序,如果有两列
-反向排序
explain select sum(sal) from tb_emp;

结果如下

+-----------------------------------------------------------------------------------------------+
|Explain                                                                                        |
+-----------------------------------------------------------------------------------------------+
|                Reduce Output Operator                                                         |
|                  sort order:                                                                  |
|                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: NONE|
|                  value expressions: _col0 (type: double)                                      |
+-----------------------------------------------------------------------------------------------+

再比如

explain select deptno,sum(sal) from tb_emp group by deptno;
+--------------------------------------------------------------------------------------------------+
|Explain                                                                                           |
+--------------------------------------------------------------------------------------------------+
|                Reduce Output Operator                                                            |
|                  key expressions: _col0 (type: int)                                              |
|                  sort order: +                                                                   |
|                  Map-reduce partition columns: _col0 (type: int)                                 |
|                  Statistics: Num rows: 89 Data size: 718 Basic stats: COMPLETE Column stats: NONE|
|                  value expressions: _col1 (type: double)                                         |
+--------------------------------------------------------------------------------------------------+

Hive 执行计划之Reduce Output Operator相关推荐

  1. Hive执行计划之 Group By Operator

    Group By Operator 分组聚合, 常见的属性 aggregations.分组是为了哪个聚合函数 mode , 一般是hash,对keys计算hash keys 当没有keys属性时只有一 ...

  2. Hive执行计划详解

    Hive的底层就是MapReduce的编程实现,我们可以通过执行计划详细的了解执行过程.对于我们对底层的理解,有很大的帮助. 语法及结构 官方对Hive Explain的英文解释,如果大家英文不错的话 ...

  3. MR实现reduce join和map join及hive的执行计划

    一.涵盖 MapReduce InputFormat RecordReader 切片:block=input split 1.1 File- Text- NLine- DB- Mapper setup ...

  4. [Hive]看懂Hive的执行计划

    关于Hive执行计划简述 一般执行计划有两个部分:  stage dependencies 各个stage之间的依赖性  stage plan 各个stage的执行计划 一个stage并不一定是一个M ...

  5. Hive查看执行计划

    可以用explain查看执行计划 比如 explain select deptno `dept`,year(hiredate) `year`,sum(sal) from tb_emp group by ...

  6. over 与lateral view 的hive、spark sql执行计划

    建表语句 create table test_over (user_id string,login_date string ) COMMENT '测试函数使用,可以删除' row format del ...

  7. t-sql执行结果_解释T-SQL查询的执行计划

    t-sql执行结果 In this article, we will analyze a simple T-SQL query execution plan with different aspect ...

  8. 执行计划中的参数解释

    执行计划中的各个参数解释: 一.Recursive calls (递归调用) 1.参考:Oracle Database Reference, 10g Release 2 (10.2).pdf第916页 ...

  9. SQL Server中的执行计划

    介绍 (Introduction) In this article, I'm going to explain what the Execution Plans in SQL Server are a ...

最新文章

  1. C++标准库中sstream和strstream的区别
  2. linux隐藏文件的方法,Linux下隐藏文件的操作方法
  3. code blocks 代码颜色_vuepress中实现代码折叠、高亮
  4. [转载]日历设计之重复事件规则设计
  5. Golang 编译MIPS helloworld程序出现 Illegal instruction 或者helloworld: applet not found 的解决
  6. What‘s new in dubbo-go v1.5.6
  7. 两台笔记本通过无线连接共享上网
  8. 有符号与无符号数强转的可逆性
  9. 【推荐】.NET批量上传控件——HtmlInputFiles
  10. 12. 表数据入口(Table Data Gateway)
  11. Django组件 中间件
  12. java计算机毕业设计评标专家管理信息系统源码+数据库+系统+lw文档+mybatis+运行部署
  13. 成为嵌入式高手,少不了这100多个软硬件开源项目!
  14. CSS让DIV上下左右居中的方法
  15. spring boot内置容器性能比较(Jetty、Tomcat、Undertow)
  16. 2021年全国职业院校技能大赛大数据应用技术国赛题
  17. No compiler is provided in this environment. Perhaps you are run
  18. 银河麒麟使用时遇到的问题
  19. 如何编辑二维码内容并批量生成
  20. 南京VI设计,企业VI设计,视觉VI识别系统塑造出独特的企业形象

热门文章

  1. python 中文乱码_python 解决cv2绘制中文乱码问题
  2. Java异常:IllegalArgumentException Collections.sort报错
  3. Mysql 的uuid()函数以及replace()函数使用
  4. winapi编程获取文件版本信息的代码_.Net调用WinAPI轻松实现POS小票并口打印
  5. html在线拖拽环绕,用HTML5原生实现拖放或排序
  6. java三色球问题_2020100期专业玩彩双色球走势分析
  7. spo机试题JAVA_基于龙芯处理器的Java运行环境的移植与优化
  8. python 接口设计_手把手教你在机器学习过程设计Python接口
  9. html页面缩小布局乱了为什么啊_PPT页面总是太空?这4个方法,让你的PPT增加亿点点细节!...
  10. 不是所有学计算机的都是肖奈,为什么《微微一笑很倾城》中贝微微肖奈学习都很拔尖,却都不考研...