[ https://issues.apache.org/jira/browse/SPARK-34268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-34268: ------------------------------------ Assignee: Apache Spark > The Signature for ConcatWs in Spark SQL Docs Is Inconsistent with the Actual > Behavior > ------------------------------------------------------------------------------------- > > Key: SPARK-34268 > URL: https://issues.apache.org/jira/browse/SPARK-34268 > Project: Spark > Issue Type: Bug > Components: docs > Affects Versions: 3.2.0 > Reporter: Yuning Zhang > Assignee: Apache Spark > Priority: Major > > In [https://spark.apache.org/docs/latest/api/sql/index.html#concat_ws], the > signature of concat_ws is concat_ws(sep, [str | array(str)]+). However, it > doesn't actually need any str or array(str) arguments. Only having the sep > argument seems to work. > For example, `select concat_ws("a")` returns an empty string. > {code:java} > scala> sql("""select concat_ws("a")""").show > +------------+ > |concat_ws(a)| > +------------+ > | | > +------------+ > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org