1、hive string  转 int

cast(t.source as int)

 

2、设置引擎

set hive.execution.engine=tez;

 

posted on 2018-02-24 15:14  充实自己  阅读(156)  评论(0编辑  收藏  举报