Login
From:
How to Check If Column Exists in Spark DataSet in Java - LogFetch
(Uncensored)
subscribe
How to Check If Column Exists in Spark DataSet in Java - LogFetch
https://logfetch.com/java-check-column-exists-spark-dataset/
links
backlinks
Roast topics
Find topics
Find it!
We can use df.columns() to obtain a string array of the column names. At that point, we can use any method to check for a value in an array!