vicennial commented on code in PR #52894:
URL: https://github.com/apache/spark/pull/52894#discussion_r2494487523
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -901,6 +901,24 @@
},
"sqlState" : "56K00"
},
+ "CONNECT_INVALID_PLAN" : {
+ "message" : [
+ "The Spark Connect plan is invalid."
+ ],
+ "subClass" : {
+ "CANNOT_PARSE" : {
+ "message" : [
+ "Cannot decompress or parse the input plan (<errorMsg>)"
+ ]
+ },
+ "PLAN_SIZE_LARGER_THAN_MAX" : {
+ "message" : [
+ "The plan size is larger than max (<planSize> vs. <maxPlanSize>)"
+ ]
Review Comment:
Let's add more info here on what the user facing resolution is.
For `CANNOT_PARSE`, it would be to disable compression and for the large
plan size, add some information on when these situations may occur and offer an
alternative (e.g split/reduce operations, utilise temp views for intermediate
materialization etc)
--
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]