WweiL commented on code in PR #40861:
URL: https://github.com/apache/spark/pull/40861#discussion_r1181923751


##########
python/pyspark/sql/connect/client.py:
##########
@@ -967,9 +967,8 @@ def _execute_and_fetch_as_iterator(
                                 "streaming_query_command_result": 
b.streaming_query_command_result
                             }
                         if 
b.HasField("streaming_query_manager_command_result"):
-                            yield {
-                                "streaming_query_manager_command_result": 
b.streaming_query_manager_command_result
-                            }
+                            cmd_result = 
b.streaming_query_manager_command_result

Review Comment:
   If I don't do this, `dev/reformat-python` always changes this line to
   ```
   yield {
       "streaming_query_manager_command_result": 
b.streaming_query_manager_command_result
   }
   ```
   which would result to python lint error because the second line has length 
115 (long indentation before it in the original file)



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to