Hi Mich. I'm trying to understand, can you please provide some use-cases where it would be beneficial with a pause and how a pause would differ functionally from a stop?
Best regards, Martin ________________________________ From: Mich Talebzadeh <mich.talebza...@gmail.com> Sent: Thursday, March 9, 2023 17:12 To: Spark dev list <dev@spark.apache.org> Subject: Adding pause() method to pyspark.sql.streaming.StreamingQuery EXTERNAL SENDER. Do not click links or open attachments unless you recognize the sender and know the content is safe. DO NOT provide your username or password. Hi, Currently for Spark Streaming we have the following class: pyspark.sql.streaming.StreamingQuery<https://gbr01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpyspark.sql.streaming.streamingquery%2F&data=05%7C01%7Cmartin.andersson%40kambi.com%7C4b333926c82b4f26df5508db20b94c61%7Ce3ec1ec4b9944e9e82e080234621871f%7C0%7C0%7C638139752435312700%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dsDaR%2B9kyZ7DkD39%2BForsR5O3bUouxo7wDc6aD9R2Pk%3D&reserved=0> There are a number of useful methods, for example stop() which stops the streaming process gracefully. Can we add another method pause() so w can pause the processing. This will come handy in a number of occasions? Thanks [https://ci3.googleusercontent.com/mail-sig/AIorK4zholKucR2Q9yMrKbHNn-o1TuS4mYXyi2KO6Xmx6ikHPySa9MLaLZ8t2hrA6AUcxSxDgHIwmKE] view my Linkedin profile<https://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmich-talebzadeh-ph-d-5205b2%2F&data=05%7C01%7Cmartin.andersson%40kambi.com%7C4b333926c82b4f26df5508db20b94c61%7Ce3ec1ec4b9944e9e82e080234621871f%7C0%7C0%7C638139752435312700%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XPBxiqT%2FUDAfzRMjoN9SK8Gs67f1tnGBmaUbLRL0WZo%3D&reserved=0> https://en.everybodywiki.com/Mich_Talebzadeh<https://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.everybodywiki.com%2FMich_Talebzadeh&data=05%7C01%7Cmartin.andersson%40kambi.com%7C4b333926c82b4f26df5508db20b94c61%7Ce3ec1ec4b9944e9e82e080234621871f%7C0%7C0%7C638139752435468958%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Fybf%2FH%2Bu6RWZutp9KXkFvsZmmyGloIqfahDElFIdYus%3D&reserved=0> Disclaimer: Use it at your own risk. Any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on this email's technical content is explicitly disclaimed. The author will in no case be liable for any monetary damages arising from such loss, damage or destruction.