tirkarthi commented on a change in pull request #26835: [SPARK-30205][PYSPARK] Import ABCs from collections.abc to remove deprecation warnings URL: https://github.com/apache/spark/pull/26835#discussion_r356390404
########## File path: python/pyspark/resultiterable.py ########## @@ -15,12 +15,16 @@ # limitations under the License. # -import collections +try: + from collections.abc import Iterable +except ImportError: + from collections import Iterable Review comment: Sorry, I was not aware of it. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
