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

Return empty Arrow table instead of None

Open JakobGM opened this issue 3 years ago • 2 comments

I have created no issue because the PR itself should be descriptive enough, the discussion can perhaps be taken here instead?

In the same way that SnowflakeCursor.fetch_pandas_all() now returns an empty DataFrame with the correct schema when the query produces 0 rows, SnowflakeCursor.fetch_arrow_all() should do the same.

JakobGM avatar Oct 10 '22 09:10 JakobGM

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

github-actions[bot] avatar Oct 10 '22 09:10 github-actions[bot]

I have read the CLA Document and I hereby sign the CLA

JakobGM avatar Oct 10 '22 09:10 JakobGM