peter-toth commented on PR #28953:
URL: https://github.com/apache/spark/pull/28953#issuecomment-1240522843

   This was my PR: https://github.com/apache/spark/pull/36440, but I'm not sure 
it helps in this case as the new `prepareQuery` property becomes part of the 
statement sent to the server, while in this case the stored procedure call 
(`.option("preActions", "call SP_UTILIZATION_INSIGHTS_LOOKUP_TABLE()"`) should 
be a separete statement.
   
   @abhishekboga, I think you could probaly use the `sessionInitStatement` 
property to call the stored procedure before running your query...


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