Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

@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 Moderator
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.
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.