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

ASF GitHub Bot updated SPARK-49542:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to