I want to use the when()
method in org.apache.spark.sql.Column
, when I go ahead, it turns out to be like this.
enter image description here
I have tried things like IntelliJ inspection gives "Cannot resolve symbol" but still compiles code but it just doesn't work, what should I do now?