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
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
Take a Tour of the Community
Community Browser
Cloudera Community
Groups
Cloudera Innovation Accelerator
Innovation Discussions
Innovation Blog
Cloudera Stream Processing
Cloudera Stream Processing Forum
Announcements
Community Announcements
Product Announcements
Support Announcements
What's New @ Cloudera
Support
Support Questions
Code Repositories
Community Articles
Using the Community
Intros and Suggestions
Community Tips
Have a Cloudera Account?
Sign In
Don't have an account?
Register
Your experience may be limited.
Sign in
to explore more.
Announcements
Product Announcements
[ANNOUNCE] CDP Private Cloud Data Services 1.5.0 Released
Community Announcements
January 2023 Community Highlights
Product Announcements
[ANNOUNCE] New Cloudera JDBC Connector 2.6.30 for Impala is Released
What's New @ Cloudera
Cloudera Operational Database (COD) provides a CLI option to enable HBase region canaries
What's New @ Cloudera
Cloudera Operational Database (COD) supports creating an operational database using a predefined Data Lake template
View More Announcements