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

SNOW-1854657 Fallback to rows parser if JSON returned while in Arrow batches mode #1291

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

sfc-gh-pfus
Copy link
Collaborator

@sfc-gh-pfus sfc-gh-pfus commented Jan 24, 2025

Description

SNOW-1854657 When Arrow batches mode was enabled but server returned JSON, JSON was not parsed. This PR changes this behaviour to parse rows in that case.

Checklist

  • Created tests which fail without the change (if possible)
  • Extended the README / documentation, if necessary

@sfc-gh-pfus sfc-gh-pfus force-pushed the SNOW-1854657-arrow-batches-to-rows branch from 686d07d to 116e016 Compare January 24, 2025 12:36
@sfc-gh-pfus sfc-gh-pfus force-pushed the SNOW-1854657-arrow-batches-to-rows branch from 116e016 to 2b6a3e2 Compare January 24, 2025 13:44
@sfc-gh-pfus sfc-gh-pfus changed the title SNOW-1854657 Fallback to rows parser if JSON returned while in Arrow … SNOW-1854657 Fallback to rows parser if JSON returned while in Arrow batches mode Jan 24, 2025
@sfc-gh-pfus sfc-gh-pfus marked this pull request as ready for review January 24, 2025 14:05
@sfc-gh-pfus sfc-gh-pfus requested a review from a team as a code owner January 24, 2025 14:05
doc.go Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.27%. Comparing base (72a121f) to head (923c5f5).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1291      +/-   ##
==========================================
- Coverage   82.28%   82.27%   -0.01%     
==========================================
  Files          55       55              
  Lines       13596    13600       +4     
==========================================
+ Hits        11187    11190       +3     
- Misses       2409     2410       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sfc-gh-pfus sfc-gh-pfus merged commit 18f7d87 into master Jan 29, 2025
39 checks passed
@sfc-gh-pfus sfc-gh-pfus deleted the SNOW-1854657-arrow-batches-to-rows branch January 29, 2025 09:12
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2025
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.

4 participants