[jira] [Updated] (SPARK-44930) Deterministic ApplyFunctionExpression should be foldable

2023-08-23 Thread Xianyang Liu (Jira)


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

Xianyang Liu updated SPARK-44930:
-
Description: Currently, ApplyFunctionExpression is unfoldable because 
inherits the default value from Expression.  However, it should be foldable for 
a deterministic ApplyFunctionExpression. This could help optimize the usage for 
V2 UDF applying to constant expressions.  (was: Currently, 
ApplyFunctionExpression is unfoldable because inherits the default value from 
Expression.  However, it should be foldable for a deterministic 
ApplyFunctionExpression. This could help optimize the usage for V2 UDF applying 
on constant expression.)

> Deterministic ApplyFunctionExpression should be foldable
> 
>
> Key: SPARK-44930
> URL: https://issues.apache.org/jira/browse/SPARK-44930
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.4.1
>Reporter: Xianyang Liu
>Priority: Major
>
> Currently, ApplyFunctionExpression is unfoldable because inherits the default 
> value from Expression.  However, it should be foldable for a deterministic 
> ApplyFunctionExpression. This could help optimize the usage for V2 UDF 
> applying to constant expressions.



--
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



[jira] [Updated] (SPARK-44930) Deterministic ApplyFunctionExpression should be foldable

2023-08-23 Thread Xianyang Liu (Jira)


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

Xianyang Liu updated SPARK-44930:
-
Description: Currently, ApplyFunctionExpression is unfoldable because 
inherits the default value from Expression.  However, it should be foldable for 
a deterministic ApplyFunctionExpression. This could help optimize the usage for 
V2 UDF applying on constant expression.  (was: Currently, 
ApplyFunctionExpression is unfoldable because inherits the default value from 
Expression.  However, it should be foldable for a deterministic 
ApplyFunctionExpression. This could help optimize the usage for V2 UDF applying 
on constant literal.)

> Deterministic ApplyFunctionExpression should be foldable
> 
>
> Key: SPARK-44930
> URL: https://issues.apache.org/jira/browse/SPARK-44930
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.4.1
>Reporter: Xianyang Liu
>Priority: Major
>
> Currently, ApplyFunctionExpression is unfoldable because inherits the default 
> value from Expression.  However, it should be foldable for a deterministic 
> ApplyFunctionExpression. This could help optimize the usage for V2 UDF 
> applying on constant expression.



--
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