Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(arrow): handle non-arrow result sets #851

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

zeroshade
Copy link
Contributor

Description

Some queries will not return Arrow data even when requested with format == arrow, such as "SHOW WAREHOUSES". This ended up causing an issue in ADBC when it happened. In order to address this scenario, we need to expose the raw json data through the ArrowStreamLoader in addition to the batches.

Checklist

  • Code compiles correctly
  • Run make fmt to fix inconsistent formats
  • Run make lint to get lint errors and fix all of them
  • Extended the README / documentation, if necessary

@zeroshade zeroshade requested a review from a team as a code owner July 17, 2023 18:54
Copy link
Collaborator

@sfc-gh-igarish sfc-gh-igarish left a comment

Choose a reason for hiding this comment

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

LGTM

@sfc-gh-igarish sfc-gh-igarish merged commit fec38ba into snowflakedb:master Jul 17, 2023
24 of 42 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2023
@zeroshade zeroshade deleted the expose-jsondata-arrow branch July 17, 2023 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants