The program was running fine until I introduced these changes
val df1 = df.(df("Column A") === "TEST" && df("Column B")