[ https://issues.apache.org/jira/browse/SPARK-41851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-41851: ------------------------------------ Assignee: (was: Apache Spark) > 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 > Priority: Major > Fix For: 3.4.0 > > > {code:java} > File > "/Users/s.singh/personal/spark-oss/python/pyspark/sql/connect/functions.py", > line 313, in pyspark.sql.connect.functions.nanvl > Failed example: > df.select(nanvl("a", "b").alias("r1"), nanvl(df.a, > df.b).alias("r2")).collect() > Expected: > [Row(r1=1.0, r2=1.0), Row(r1=2.0, r2=2.0)] > Got: > [Row(r1=1.0, r2=1.0), Row(r1=nan, r2=nan)]{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