Sandeep Singh created SPARK-41851:
-------------------------------------
Summary: Fix `nanvl` function
Key: SPARK-41851
URL: https://issues.apache.org/jira/browse/SPARK-41851
Project: Spark
Issue Type: Sub-task
Components: Connect, PySpark
Affects Versions: 3.4.0
Reporter: Sandeep Singh
Fix For: 3.4.0
{code:java}
File
"/Users/s.singh/personal/spark-oss/python/pyspark/sql/connect/functions.py",
line 801, in pyspark.sql.connect.functions.count
Failed example:
df.select(count(expr("*")), count(df.alphabets)).show()
Expected:
+--------+----------------+
|count(1)|count(alphabets)|
+--------+----------------+
| 4| 3|
+--------+----------------+
Got:
+----------------+----------------+
|count(alphabets)|count(alphabets)|
+----------------+----------------+
| 3| 3|
+----------------+----------------+
<BLANKLINE> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]