spark.sql.crossJoin.enabled for Spark 2.x

后端 未结 4 1039
北荒
北荒 2020-11-29 11:40

I am using the \'preview\' Google DataProc Image 1.1 with Spark 2.0.0. To complete one of my operations I have to complete a cartesian product. Since version 2.0.0 there ha

4条回答
  •  没有蜡笔的小新
    2020-11-29 11:50

    I think it should be

    spark.conf.set("spark.sql.crossJoin.enabled", True)
    

    Otherwise it'll give

    NameError: name 'true' is not defined

提交回复
热议问题