[ 
https://issues.apache.org/jira/browse/SPARK-34867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308653#comment-17308653
 ] 

unical1988 commented on SPARK-34867:
------------------------------------

{code:java}
firstDF.select(firstDeltaDF.apply("col4").when(firstDeltaDF.apply("col4").equalTo("II259"),
 "II999")
 .when(col("gender").equalTo("female"), 1)
  .otherwise(""));{code}

> cannot resolve method when of Column() spark java
> -------------------------------------------------
>
>                 Key: SPARK-34867
>                 URL: https://issues.apache.org/jira/browse/SPARK-34867
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 3.1.1
>            Reporter: unical1988
>            Priority: Major
>
> The error says cannot resolve method main (of Column()) and col in Spark 3.1.1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to