[jira] [Assigned] (SPARK-41770) eqNullSafe does not support None as its argument

2022-12-30 Thread Hyukjin Kwon (Jira)


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

Hyukjin Kwon reassigned SPARK-41770:


Assignee: Ruifeng Zheng

> eqNullSafe does not support None as its argument
> 
>
> Key: SPARK-41770
> URL: https://issues.apache.org/jira/browse/SPARK-41770
> Project: Spark
>  Issue Type: Sub-task
>  Components: Connect
>Affects Versions: 3.4.0
>Reporter: Hyukjin Kwon
>Assignee: Ruifeng Zheng
>Priority: Major
> Fix For: 3.4.0
>
>
> {code}
> **
> File "/.../spark/python/pyspark/sql/connect/column.py", line 90, in 
> pyspark.sql.connect.column.Column.eqNullSafe
> Failed example:
> df1.select(
> df1['value'] == 'foo',
> df1['value'].eqNullSafe('foo'),
> df1['value'].eqNullSafe(None)
> ).show()
> Exception raised:
> Traceback (most recent call last):
>   File "/.../miniconda3/envs/python3.9/lib/python3.9/doctest.py", line 
> 1336, in __run
> exec(compile(example.source, filename, "single",
>   File "", line 
> 4, in 
> df1['value'].eqNullSafe(None)
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 78, 
> in wrapped
> return scalar_function(name, self, other)
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 95, 
> in scalar_function
> return Column(UnresolvedFunction(op, [arg._expr for arg in args]))
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 95, 
> in 
> return Column(UnresolvedFunction(op, [arg._expr for arg in args]))
> AttributeError: 'NoneType' object has no attribute '_expr'
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Assigned] (SPARK-41770) eqNullSafe does not support None as its argument

2022-12-29 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-41770:


Assignee: Apache Spark

> eqNullSafe does not support None as its argument
> 
>
> Key: SPARK-41770
> URL: https://issues.apache.org/jira/browse/SPARK-41770
> Project: Spark
>  Issue Type: Sub-task
>  Components: Connect
>Affects Versions: 3.4.0
>Reporter: Hyukjin Kwon
>Assignee: Apache Spark
>Priority: Major
>
> {code}
> **
> File "/.../spark/python/pyspark/sql/connect/column.py", line 90, in 
> pyspark.sql.connect.column.Column.eqNullSafe
> Failed example:
> df1.select(
> df1['value'] == 'foo',
> df1['value'].eqNullSafe('foo'),
> df1['value'].eqNullSafe(None)
> ).show()
> Exception raised:
> Traceback (most recent call last):
>   File "/.../miniconda3/envs/python3.9/lib/python3.9/doctest.py", line 
> 1336, in __run
> exec(compile(example.source, filename, "single",
>   File "", line 
> 4, in 
> df1['value'].eqNullSafe(None)
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 78, 
> in wrapped
> return scalar_function(name, self, other)
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 95, 
> in scalar_function
> return Column(UnresolvedFunction(op, [arg._expr for arg in args]))
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 95, 
> in 
> return Column(UnresolvedFunction(op, [arg._expr for arg in args]))
> AttributeError: 'NoneType' object has no attribute '_expr'
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Assigned] (SPARK-41770) eqNullSafe does not support None as its argument

2022-12-29 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-41770:


Assignee: (was: Apache Spark)

> eqNullSafe does not support None as its argument
> 
>
> Key: SPARK-41770
> URL: https://issues.apache.org/jira/browse/SPARK-41770
> Project: Spark
>  Issue Type: Sub-task
>  Components: Connect
>Affects Versions: 3.4.0
>Reporter: Hyukjin Kwon
>Priority: Major
>
> {code}
> **
> File "/.../spark/python/pyspark/sql/connect/column.py", line 90, in 
> pyspark.sql.connect.column.Column.eqNullSafe
> Failed example:
> df1.select(
> df1['value'] == 'foo',
> df1['value'].eqNullSafe('foo'),
> df1['value'].eqNullSafe(None)
> ).show()
> Exception raised:
> Traceback (most recent call last):
>   File "/.../miniconda3/envs/python3.9/lib/python3.9/doctest.py", line 
> 1336, in __run
> exec(compile(example.source, filename, "single",
>   File "", line 
> 4, in 
> df1['value'].eqNullSafe(None)
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 78, 
> in wrapped
> return scalar_function(name, self, other)
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 95, 
> in scalar_function
> return Column(UnresolvedFunction(op, [arg._expr for arg in args]))
>   File 
> "/.../workspace/forked/spark/python/pyspark/sql/connect/column.py", line 95, 
> in 
> return Column(UnresolvedFunction(op, [arg._expr for arg in args]))
> AttributeError: 'NoneType' object has no attribute '_expr'
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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