You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jose Antonio (JIRA)" <ji...@apache.org> on 2015/10/28 10:04:27 UTC

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

Jose Antonio created SPARK-11366:
------------------------------------

             Summary: 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.5.1, 1.5.0, 1.4.1, 1.4.0, 1.6.0
         Environment: All.
            Reporter: Jose Antonio


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
(v6.3.4#6332)

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