【发布时间】:2019-02-10 23:33:03
【问题描述】:
我有一个像下面这样的表格数据,我想用聚合来透视数据。
ColumnA ColumnB ColumnC
1 complete Yes
1 complete Yes
2 In progress No
2 In progress No
3 Not yet started initiate
3 Not yet started initiate
想像下面这样旋转
ColumnA Complete In progress Not yet started
1 2 0 0
2 0 2 0
3 0 0 2
我们是否可以在 hive 或 Impala 中实现这一点?
【问题讨论】:
-
到目前为止你尝试了什么?
标签: apache-spark hadoop hive impala