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