ybapat commented on issue #56408:
URL: https://github.com/apache/spark/issues/56408#issuecomment-5066419454

   Good catch! I've opened a PR to fix this: 
https://github.com/apache/spark/pull/57493
   
   The redundant `req.user_context.user_id = self._user_id` assignments in 
`execute_command` and `execute_command_as_iterator` are indeed dead code — 
`_execute_plan_request_with_metadata()` already sets the field with the same 
guard before returning. The PR removes those two duplicate blocks.


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