MaxGekk commented on code in PR #48288:
URL: https://github.com/apache/spark/pull/48288#discussion_r1793140558
##########
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/functions/ScalarFunction.java:
##########
@@ -149,7 +149,7 @@ public interface ScalarFunction<R> extends BoundFunction {
* @return a result value
*/
default R produceResult(InternalRow input) {
- throw new SparkUnsupportedOperationException("_LEGACY_ERROR_TEMP_3146");
+ throw new
SparkUnsupportedOperationException("SCALAR_FUNCTION_NOT_COMPATIBLE");
Review Comment:
The error condition requires the parameter `scalarFunc`. Could you pass it
here, please.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]