Closed mpgreg closed 1 year ago
Confirmed that this error does not occur with connector 3.0.2
Confirmed that this error does not occur with connector 3.0.2
Oh, that's great
Sorry @sfc-gh-mkeller I should be more specific. This error DOES occur with the latest 3.0.3 but does NOT occur with 3.0.2. Seems to be a regression somewhere.
Can this be re-opened @sfc-gh-mkeller? As @mpgreg confirmed it is not a problem in 3.0.2, but it is in 3.0.3 and up (including 3.1.0 and the latest preview)
Hey there! Having the same issue on macbook m1 python 3.12 conda env. Tried to rebuild env, reinstall anaconda itself, downgraded to Python 3.11 to meet snowflake connector 3.0.2 requirements. Indeed the Error: Missing optional dependency: pandas
is gone, however another error appear at the exactly same place: ArrowMemoryError: malloc of size 1024 failed
. Any clues on this issue?
Getting the same error with version 3.10.1, do someone knows why this is happening? This issue should be reopened i think
Getting same error with python 3.10.8 and snowflake connector 3.12.0.
I'm getting it with python 3.12.3 and snowflake-connector-python 3.12.1
In Python 3.13.2 and Snowflake connector 3.12.3 worked for me after executing:
pip install "snowflake-connector-python[pandas]" pandas numpy pyarrow
Please answer these questions before submitting your issue. Thanks!
Python 3.9.16
What operating system and processor architecture are you using?
Docker container: Linux-5.15.49-linuxkit-aarch64-with-glibc2.31
What are the component versions in the environment (
pip freeze
)?What did you do?
write_pandas(snowflake_hook.get_conn(), calls_df[['CUSTOMER_ID', 'RELATIVE_PATH', 'TRANSCRIPT']], 'STG_CUSTOMER_CALLS')
What did you expect to see?
Successful write to table
Can you set logging to DEBUG and collect the logs?