Closed bmwilly closed 3 years ago
I made a mistake the location should be constructed in this manner:
location = ((('"' + database + '".') if database else '') +
(('"' + schema + '".') if schema else '') +
('"' + table_name + '"'))
My apologies, I'll fix this for next release! Until then you could patch this into local install!
@sfc-gh-mkeller great, thanks!
@sfc-gh-mkeller When is this gonna release?
It should have been included in 2.2.9 @adde-rishimehta
Thanks @sfc-gh-mkeller , should be good to close this Issue then.
Please answer these questions before submitting your issue. Thanks!
python --version
)?python -c 'import platform; print(platform.platform())'
)?pip list
)?There are many cases where the
location
(https://github.com/snowflakedb/snowflake-connector-python/blob/master/pandas_tools.py#L87) is not constructed correctly inwrite_pandas
. Take three examples that are all possible and incorrect:The result is that the user always need to do something like
to use
pd_writer
/write_pandas
.