You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2026/05/16 18:54:01 UTC
[jira] [Updated] (SPARK-50698) Refactor CreateUserDefinedFunction command to extend from UnaryRunnableCommand
[ https://issues.apache.org/jira/browse/SPARK-50698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-50698:
----------------------------------
Parent: SPARK-56754 (was: SPARK-54137)
> Refactor CreateUserDefinedFunction command to extend from UnaryRunnableCommand
> ------------------------------------------------------------------------------
>
> Key: SPARK-50698
> URL: https://issues.apache.org/jira/browse/SPARK-50698
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Allison Wang
> Priority: Major
>
> Refactor CreateUserDefinedFunction command to extend from UnaryRunnableCommand, similar to UnsetNamespacePropertiesCommand so that we only need one logical plan for the command.
> See comment: [https://github.com/apache/spark/pull/49126/files#r1890214852]
> Another improvement: We don't hold the expr string in the command, but the parsed expression ({{{}ColumnDefinition#defaultValue{}}}). Then we validate the resolved expression inĀ {{{}ResolveDefaultColumns.validateDefaultValueExpr ({}}}similar to how we validate column default values for CREATE TABLE. ){{{}{}}}
> See comment: https://github.com/apache/spark/pull/49126#discussion_r1900525129
--
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