[ https://issues.apache.org/jira/browse/SPARK-53554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-53554: ----------------------------------- Labels: pull-request-available (was: ) > Fix sum_distinct in spark-connect-rust > -------------------------------------- > > Key: SPARK-53554 > URL: https://issues.apache.org/jira/browse/SPARK-53554 > Project: Spark > Issue Type: Bug > Components: Connect > Affects Versions: connect-rust-0.1.0 > Reporter: Kousuke Saruta > Priority: Major > Labels: pull-request-available > > In the current spark-connect-rust, sum_distinct doesn't work correctly. > If we run the following code, > {code} > let df = spark > .sql("SELECT * FROM VALUES (1), (2), (3), (1), (2), (3) AS data(value)") > .await?; > df.select([sum_distinct(col("value")).alias("sum")]) > .show(None, None, None) > .await?; > {code} > We will get the following error. > {code} > Error: AnalysisException("[UNRESOLVED_ROUTINE] Cannot resolve routine > `sum_distinct` on search path [`system`.`builtin`, `system`.`session`, > `spark_catalog`.`default`]. SQLSTATE: 42883") > {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