Community
Training
Partners
Support
Cloudera Community
Cloudera Community
Announcements
Community Announcements
What's New @ Cloudera
Support
Support Questions
Community Articles
Groups
Using the Community
Getting Started
Intros and Suggestions
Community Tips
Blogs
Developer Blogs
Engineering Blogs
Cloudera Developers
Sign In
Support Questions
Find answers, ask questions, and share your expertise
All community
This category
This board
Community Articles
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Advanced Search
Announcements
We’ve updated our product names and community labels -
click here
for full details
Cloudera Community
Support
Support Questions
Re: def sample(a:Column,b:Column):Column={ var c...
Options
Subscribe to RSS Feed
Mark Question as New
Mark Question as Read
Float this Question for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Options
Subscribe to RSS Feed
Mark Question as New
Mark Question as Read
Float this Question for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Solved
Go to solution
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)
Labels:
Labels:
Apache Spark
chiranjeevivenk
Explorer
Created
03-13-2019
10:38 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
03-13-2019 10:38:26
1 ACCEPTED SOLUTION
chiranjeevivenk
Explorer
Created
05-15-2019
02:54 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
05-15-2019 02:54:43
c=a*(lit(1)-b)
View solution in original post
All forum topics
Previous
Next
1 REPLY
1
chiranjeevivenk
Explorer
Created
05-15-2019
02:54 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
05-15-2019 02:54:43
c=a*(lit(1)-b)
Post Reply
Announcements
What's New @ Cloudera
Announcing Cloudera Streaming Analytics 1.17: Python UDFs, S...
Community Announcements
Content Update: Evolving Our Community Content for Better, A...
Community Announcements
Product Name Updates — Community Label Changes & Notificatio...
What's New @ Cloudera
Announcing Cloudera Data Lineage for Trino
What's New @ Cloudera
Announcing Cloudera Streaming Analytics Operator for Kuberne...
View More Announcements