[
https://issues.apache.org/jira/browse/SPARK-50698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-50698:
----------------------------------
Parent Issue: SPARK-54137 (was: SPARK-52282)
> 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: [email protected]
For additional commands, e-mail: [email protected]