You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2024/10/10 07:13:00 UTC

[jira] [Assigned] (SPARK-49542) Cannot generate code for expression: years

     [ https://issues.apache.org/jira/browse/SPARK-49542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Gekk reassigned SPARK-49542:
--------------------------------

    Assignee: Dusan Tisma

> Cannot generate code for expression: years
> ------------------------------------------
>
>                 Key: SPARK-49542
>                 URL: https://issues.apache.org/jira/browse/SPARK-49542
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Max Gekk
>            Assignee: Dusan Tisma
>            Priority: Major
>              Labels: pull-request-available
>
> The example below portraits the issue:
> {code:scala}
> scala> spark.range(10).select(partitioning.years($"id")).show()
> org.apache.spark.SparkException: [INTERNAL_ERROR] Cannot generate code for expression: years(input[0, bigint, false]) SQLSTATE: XX000
>   at org.apache.spark.SparkException$.internalError(SparkException.scala:92)
>   at org.apache.spark.SparkException$.internalError(SparkException.scala:96)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org