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: [email protected]
For additional commands, e-mail: [email protected]