SyntaxFix
Write A Post
Hire A Developer
Questions
This is java answer.
df.select("id").collectAsList();