spark出现crossJoin笛卡尔积报错异常解决use the CROSS JOIN syntax to allow cartesian products between these
异常信息如下:
原因:
Spark 2.x版本中默认不支持笛卡尔积操作
解决办法:
通过参数spark.sql.crossJoin.enabled开启,方式如下:
spark.conf.set("spark.sql.crossJoin.enabled", "true")
异常信息如下:
原因:
Spark 2.x版本中默认不支持笛卡尔积操作
解决办法:
通过参数spark.sql.crossJoin.enabled开启,方式如下:
spark.conf.set("spark.sql.crossJoin.enabled", "true")