snowflake-connector-python icon indicating copy to clipboard operation
snowflake-connector-python copied to clipboard

SNOW-590714: cursor.execute_async returns a dictionary instead of a cursor object

Open sfc-gh-ncrouch opened this issue 2 years ago • 0 comments

Please answer these questions before submitting your issue. Thanks!

  1. What version of Python are you using?

Python 3.9.12

  1. What operating system and processor architecture are you using?

macOS-10.16-x86_64-i386-64bit

  1. What are the component versions in the environment (pip freeze)?

snowflake-connector-python=2.6.2=py39hb2f4e1b_0

  1. What did you do?

type(conn.cursor().execute_async('SELECT 1'))

dict

  1. What did you expect to see? https://docs.snowflake.com/en/user-guide/python-connector-api.html#execute_async indicates that we should have a return type of a cursor, so:

snowflake.connector.cursor.SnowflakeCursor

sfc-gh-ncrouch avatar May 16 '22 04:05 sfc-gh-ncrouch