Support Questions
Find answers, ask questions, and share your expertise

def sample(a:Column,b:Column):Column={ var c:Column=null ;c=a*(1-b);c} error: overloaded method value + with alternatives cannot be applied to (org.apache.spark.sql.Column)

 
1 ACCEPTED SOLUTION

Accepted Solutions

Re: def sample(a:Column,b:Column):Column={ var c:Column=null ;c=a*(1-b);c} error: overloaded method value + with alternatives cannot be applied to (org.apache.spark.sql.Column)

1 REPLY 1

Re: def sample(a:Column,b:Column):Column={ var c:Column=null ;c=a*(1-b);c} error: overloaded method value + with alternatives cannot be applied to (org.apache.spark.sql.Column)