I have a data frame which has the below column:
Last Login- Date & Time(Incl. Time Zone)
When I read the data and print the schema, the column gets printed
df.printSchema()
But when I try selecting the column from the data frame it fails.
df.select(col("Last Login- Date & Time(Incl. Time Zone)"))
AnalysisException: cannot resolve '`Last Login- Date & Time(Incl. Time > Zone)`' given input columns: [`Last Login- Date & Time(Incl. Time Zone)`]