Skip to content

Conversation

@sfc-gh-turbaszek
Copy link
Contributor

@sfc-gh-turbaszek sfc-gh-turbaszek commented Oct 23, 2025

All commits cherry picked. Changes to aio code are limited to:
Fix get_results_from_sfqid with DictCursor + multi statements

sfc-gh-pcyrek and others added 9 commits October 27, 2025 13:38
Port PR: snowflakedb/Stored-Proc-Python-Connector#225

I noticed that get_results_from_sfqid assumes that fetchall returns a tuple when that's not necessarily the case. Fixing it here + adding a test that fails without the fix.

```
E                   AssertionError: assert [{'multiple s...ccessfully.'}] == [{'1': 1}]
E                     At index 0 diff: {'multiple statement execution': 'Multiple statements executed successfully.'} != {'1': 1}
E                     Full diff:
E                     - [{'1': 1}]
E                     + [{'multiple statement execution': 'Multiple statements executed successfully.'}]
```
Copy link
Contributor

@sfc-gh-fpawlowski sfc-gh-fpawlowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm : )

Let's remember about switching Github button to Rebase&merge (from automatic Squash&merge) in this case.

@sfc-gh-turbaszek sfc-gh-turbaszek merged commit 012eed6 into dev/aio-connector Oct 28, 2025
44 of 53 checks passed
@sfc-gh-turbaszek sfc-gh-turbaszek deleted the turbaszek-aio-cp-3 branch October 28, 2025 13:38
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants