I am using spark-sql-2.4.1v with java8.
spark-sql-2.4.1v
I have scenario/snippet like below
Dataset df =//loaded data from a csv file // this has co