[ https://issues.apache.org/jira/browse/SPARK-45137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-45137: ----------------------------------- Labels: pull-request-available (was: ) > Unsupported map and array constructors by `sql()` in connect clients > -------------------------------------------------------------------- > > Key: SPARK-45137 > URL: https://issues.apache.org/jira/browse/SPARK-45137 > Project: Spark > Issue Type: Bug > Components: Connect > Affects Versions: 4.0.0 > Reporter: Max Gekk > Priority: Major > Labels: pull-request-available > > The code below demonstrates the issue: > {code:scala} > spark.sql("select element_at(?, 1)", Array(array(lit(1)))).collect() > {code} > It fails with the error: > {code:java} > [info] java.lang.UnsupportedOperationException: literal unresolved_function > { > [info] function_name: "array" > [info] arguments { > [info] literal { > [info] integer: 1 > [info] } > [info] } > [info] } > [info] not supported (yet). > {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