Support Questions
Find answers, ask questions, and share your expertise

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

 
1 ACCEPTED SOLUTION

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

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.

; ;