Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
New Member
 
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.