hive笛卡尔积+排序

原始需求 解决方案:笛卡尔积 + 排序 1)hive本身不支持笛卡尔积,不能使用select T1.*, T2.* from table_1, table_2, 可以使用 select T1.*, T2.* from T1 join T2 on 1=1;在Hive的strict模式下不能用这种语法,需要先用set hive.mapred.mode=nonstrict,设置为非strict模式才可以
相关文章
相关标签/搜索