hive不支持group by 别名,如果需要group by 别名的情况,可以使用 别名的 值作为group by 的值 转载于:https://www.cnblogs.com/0xcafedaddy/p/8324346.html