SNOW-1662210: Add ability to patch for Session sql method #2286
Labels
feature
New feature or request
local testing
Local Testing issues/PRs
status-triage_done
Initial triage done, will be further handled by the driver team
What is the current behavior?
Unable to patch Session.sql() method. After following the documentation receiving the error:
NotImplementedError: [Local Testing] Session.sql is not supported.'
Error: NotImplementedError: [Local Testing] Session.sql is not supported.
What is the desired behavior?
Ability to patch Session.sql() so code that uses Session.sql() can have tests made
If this is not an existing feature in
snowflake-snowpark-python
. How would this impact/improve non-local testing mode?It would allow users to work around the NotImplementedError for Session.sql when it is required in the code
References, Other Background
https://docs.snowflake.com/en/developer-guide/snowpark/python/tutorials/testing-tutorial#configure-local-testing
The text was updated successfully, but these errors were encountered: