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.

Is it possible to call a scala function which accepts a column as a parameter?

Highlighted

Is it possible to call a scala function which accepts a column as a parameter?

New Contributor

I need to call a scala function which accepts column as input paramater and returns column. Can you tell me how to do same

1 REPLY 1

Re: Is it possible to call a scala function which accepts a column as a parameter?

Community Manager

@lazydba123, I moved your question to this new thread because the one you originally posted this question in was pretty much resolved back in the Summer of 2017. It also wasn't clear from your question whether you're using python or not, and the original post was concerned with the pyspark syntax.

 

Bill Brooks, Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Don't have an account?
Coming from Hortonworks? Activate your account here