amaliujia commented on code in PR #40938:
URL: https://github.com/apache/spark/pull/40938#discussion_r1177062830


##########
python/pyspark/errors/error_classes.py:
##########
@@ -269,6 +269,11 @@
       "<objectName> is not iterable."
     ]
   },
+  "NOT_LIST" : {

Review Comment:
   We should consolidate these `NOT_xxx` to one error as they all throw `xx 
should be but got yy`? 



##########
python/pyspark/errors/error_classes.py:
##########
@@ -269,6 +269,11 @@
       "<objectName> is not iterable."
     ]
   },
+  "NOT_LIST" : {

Review Comment:
   We should consolidate these `NOT_xxx` to one error class as they all throw 
`xx should be but got yy`? 



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