Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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)

Solved Go to solution
Highlighted

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
Highlighted

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
Highlighted

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)

Don't have an account?
Coming from Hortonworks? Activate your account here