snowflakedb / snowflake-connector-python

Snowflake Connector for Python
https://pypi.python.org/pypi/snowflake-connector-python/
Apache License 2.0
568 stars 458 forks source link

SNOW-1367711: Log Error coming from line CArrowTableIterator.cpp#L230 making a lot noise #1941

Closed rajathpatel23 closed 2 months ago

rajathpatel23 commented 2 months ago

Python version

python 3.10.7

Operating system and processor architecture

Linux

Installed packages

snowflake-connector-python==3.10.0
pandas==2.2.2

What did you do?

We were trying to fetch data from Snowflake in bulk using `fetch_pandas_all.`

What did you expect to see?

We are getting this log error while processing data from Snowflake. It seems to be making a lot of noise; I would like to understand - what was the change made in the snowflake ticket? I feel the logger there is more of debug logger than actual log error.

The changes introduced in this PR seem to be start to give us the log error

Could you help me with this? Also, can you provide more info on the support for pandas that have come with this change?

Can you set logging to DEBUG and collect the logs?

2024-05-01T08:51:05.782-07:00E0501 15:51:04.878359 140214890649152 CArrowTableIterator.cpp:230] scale: 9
sfc-gh-dszmolka commented 2 months ago

looks like duplicate of https://github.com/snowflakedb/snowflake-connector-python/issues/1939 ?