Spark 1.6: drop column in DataFrame with escaped column names
Alright, I seem to have found the solution after all:
df.drop(df.col("raw.hourOfWeek"))
seems to work
val data = df.drop("Customers");
will work fine for normal columns
val new = df.drop(df.col("old.column"));