sparkbug专题

SparkBug解决:Type mismatch; found : org.apache.spark.sql.Column required: Double

def assginFlag(aizmuth:Double):Option[Int] = {val interval = 0.5val index =(aizmuth / interval ).toIntif (index >= 0 && index <= 720 ) Some(index + 1) else None} assginFlag方法中的条件判断条件 (index >= 0 && i