You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:21:25 UTC

[jira] [Updated] (SPARK-11366) binary functions (methods) such as rlike in pyspark.sql.column only accept strings but should also accept another Column

     [ https://issues.apache.org/jira/browse/SPARK-11366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-11366:
---------------------------------
    Labels: bulk-closed features  (was: features)

> binary functions (methods) such as rlike in pyspark.sql.column only accept strings but should also accept another Column
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-11366
>                 URL: https://issues.apache.org/jira/browse/SPARK-11366
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0
>         Environment: All.
>            Reporter: Jose Antonio
>            Priority: Major
>              Labels: bulk-closed, features
>
> binary functions (methods) such as rlike in pyspark.sql.column only accept strings but should also accept another Column.
> For instance: 
> df.mycolumn.rlike(df.mycolumn2)
> Gives the error:
> Method rlike([class org.apache.spark.sql.Column]) does not exist
> but 
> df.mycolumn.rlike('test')  
> is OK.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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