You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
session.write_pandas() behavior inconsistent with underlying snowflake.connector.pandas_tools.write_pandas()
SNOW-925456: session.write_pandas() behavior inconsistent with underlying snowflake.connector.pandas_tools.write_pandas()
Sep 27, 2023
Please answer these questions before submitting your issue. Thanks!
3.8
What operating system and processor architecture are you using?
macOS-13.6-arm64-arm-64bit
What are the component versions in the environment (
pip freeze
)?Replace with the output of
python -m pip freeze
What did you do?
In https://github.com/snowflakedb/snowpark-python/blob/main/src/snowflake/snowpark/session.py, we
from snowflake.connector.pandas_tools import write_pandas
which is a much better/more robust version that does schema inference ... and we call out its use as well in
def create_dataframe
When data is a pandas DataFrame, snowflake.connector.pandas_tools.write_pandas is called
...but there also exists a
def write_pandas
that overrides the import and is missing some of the things in the other oneWhat did you expect to see?
leverage snowflake.connector.pandas_tools.write_pandas
The text was updated successfully, but these errors were encountered: