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-988793 Do not read arrow chunk when it is empty for arrow batches #998

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

sfc-gh-pfus
Copy link
Collaborator

@sfc-gh-pfus sfc-gh-pfus commented Dec 11, 2023

Description

SNOW-988793 When arrow batches mode is used and the query returns no rows - we shouldn't create arrow reader at all.

Checklist

  • Code compiles correctly
  • Run make fmt to fix inconsistent formats
  • Run make lint to get lint errors and fix all of them
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary

@sfc-gh-pfus sfc-gh-pfus force-pushed the SNOW-988793-no-rows-arrow-batches branch 2 times, most recently from b90df21 to c248b31 Compare December 11, 2023 09:08
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e49463c) 82.83% compared to head (6547127) 82.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #998   +/-   ##
=======================================
  Coverage   82.83%   82.83%           
=======================================
  Files          50       50           
  Lines        9698     9701    +3     
=======================================
+ Hits         8033     8036    +3     
  Misses       1665     1665           

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

@sfc-gh-pfus sfc-gh-pfus force-pushed the SNOW-988793-no-rows-arrow-batches branch from c248b31 to 6c68996 Compare December 14, 2023 11:07
@sfc-gh-pfus sfc-gh-pfus marked this pull request as ready for review December 14, 2023 11:07
@sfc-gh-pfus sfc-gh-pfus requested a review from a team as a code owner December 14, 2023 11:07
@sfc-gh-pfus sfc-gh-pfus force-pushed the SNOW-988793-no-rows-arrow-batches branch from 6c68996 to 6547127 Compare December 18, 2023 12:58
@sfc-gh-pfus sfc-gh-pfus merged commit d942efb into master Dec 19, 2023
23 checks passed
@sfc-gh-pfus sfc-gh-pfus deleted the SNOW-988793-no-rows-arrow-batches branch December 19, 2023 06:25
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2023
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