[jira] [Commented] (SPARK-38692) Use error classes in the compilation errors of function args

2022-04-24 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-38692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17527220#comment-17527220
 ] 

Apache Spark commented on SPARK-38692:
--

User 'lvshaokang' has created a pull request for this issue:
https://github.com/apache/spark/pull/36336

> Use error classes in the compilation errors of function args
> 
>
> Key: SPARK-38692
> URL: https://issues.apache.org/jira/browse/SPARK-38692
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.4.0
>Reporter: Max Gekk
>Priority: Major
>
> Migrate the following errors in QueryCompilationErrors:
> * invalidFunctionArgumentsError
> * invalidFunctionArgumentNumberError
> * functionAcceptsOnlyOneArgumentError
> * secondArgumentNotDoubleLiteralError
> * functionCannotProcessInputError
> * v2FunctionInvalidInputTypeLengthError
> * secondArgumentInFunctionIsNotBooleanLiteralError
> onto use error classes. Throw an implementation of SparkThrowable. Also write 
> a test per every error in QueryCompilationErrorsSuite.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Commented] (SPARK-38692) Use error classes in the compilation errors of function args

2022-04-24 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-38692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17527219#comment-17527219
 ] 

Apache Spark commented on SPARK-38692:
--

User 'lvshaokang' has created a pull request for this issue:
https://github.com/apache/spark/pull/36336

> Use error classes in the compilation errors of function args
> 
>
> Key: SPARK-38692
> URL: https://issues.apache.org/jira/browse/SPARK-38692
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.4.0
>Reporter: Max Gekk
>Priority: Major
>
> Migrate the following errors in QueryCompilationErrors:
> * invalidFunctionArgumentsError
> * invalidFunctionArgumentNumberError
> * functionAcceptsOnlyOneArgumentError
> * secondArgumentNotDoubleLiteralError
> * functionCannotProcessInputError
> * v2FunctionInvalidInputTypeLengthError
> * secondArgumentInFunctionIsNotBooleanLiteralError
> onto use error classes. Throw an implementation of SparkThrowable. Also write 
> a test per every error in QueryCompilationErrorsSuite.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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