Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

What is the significance of $ in this filter statement val result = file1.select("Name","Age").filter($"Age">30).show()

avatar
 
1 ACCEPTED SOLUTION

avatar
Super Collaborator

it's defining a columnname in the filter condition. So in your case it means nothing else then column with the name Age.

View solution in original post

1 REPLY 1

avatar
Super Collaborator

it's defining a columnname in the filter condition. So in your case it means nothing else then column with the name Age.