HyukjinKwon commented on PR #46649:
URL: https://github.com/apache/spark/pull/46649#issuecomment-2119473364

   Seems like that still doesn't work with ANSI disabled:
   
   ```
   org.apache.spark.sql.AnalysisException: 
[DATATYPE_MISMATCH.UNEXPECTED_INPUT_TYPE] Cannot resolve 
"raise_error(USER_RAISED_EXCEPTION, map(errorMessage, 1))" due to data type 
mismatch: The second parameter requires the "MAP<STRING, STRING>" type, however 
"map(errorMessage, 1)" has the type "MAP<STRING, INT>". SQLSTATE: 42K09; line 1 
pos 7;
   'Project [unresolvedalias(raise_error(USER_RAISED_EXCEPTION, 
map(errorMessage, 1), NullType))]
   +- OneRowRelation
   ```


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

Reply via email to