I believe it is the type issues. Mod of double will return a double. Example: df.withColumn("a", lit(3.5)).withColumn("b", col("a") ...
確定! 回上一頁