You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by muhammet pakyürek <mp...@hotmail.com> on 2016/10/21 08:24:08 UTC

sql.functions partitionby AttributeError: 'NoneType' object has no attribute '_jvm'

i work with partitioonby for lead lag functions i get the errror above and here is the explanation


jspec = sc._jvm.org.apache.spark.sql.expressions.Window.partitionBy(_to_java_cols(cols))