Skip to content

Conversation

@bushwhackr
Copy link
Contributor

What this PR does / why we need it: change in snowflake signature fetch_arrow_all in snowflake-connector-python 3.7.
This fixes linting issues and forces users to use the updated method.

Refer to #3952 and upstream fix: snowflakedb/snowflake-connector-python#1800

Which issue(s) this PR fixes:

Fixes #

Signed-off-by: Chester Ong <chester.ong.ch@gmail.com>
@bushwhackr bushwhackr changed the title chore: increase snowflake-connector-python to 3.7 chore: Increase snowflake-connector-python dependency to 3.7 Mar 11, 2024
Signed-off-by: Chester Ong <chester.ong.ch@gmail.com>
@bushwhackr bushwhackr closed this Mar 11, 2024
@bushwhackr bushwhackr deleted the bushwhackr/snowflake-version branch March 11, 2024 05:51
@bushwhackr bushwhackr restored the bushwhackr/snowflake-version branch March 11, 2024 05:51
@bushwhackr bushwhackr reopened this Mar 11, 2024
pa_table = execute_snowflake_statement(
return execute_snowflake_statement(
self.snowflake_conn, self.to_sql()
).fetch_arrow_all(force_return_table=False)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a bug, right? Wouldn't this already raise an exception for <3.7 versions?

@bushwhackr
Copy link
Contributor Author

@shuchu @sudohainguyen if you could approve this fix

Copy link
Collaborator

@sudohainguyen sudohainguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@bushwhackr
Copy link
Contributor Author

@sudohainguyen Could you add the okay-to-test label, just to make sure that all the integration tests works.

@jeremyary jeremyary merged commit 2076938 into feast-dev:master Mar 11, 2024
@bushwhackr bushwhackr deleted the bushwhackr/snowflake-version branch May 29, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SNOW-966003: Unexpected arrow table behaviour when query returns zero rows

4 participants