Skip to content

Conversation

@sfc-gh-ext-simba-jy
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Dec 6, 2025

Codecov Report

❌ Patch coverage is 94.65649% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.04%. Comparing base (eb2b196) to head (75e2254).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
cpp/lib/ArrowChunkIterator.cpp 94.73% 5 Missing ⚠️
lib/results.c 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #958      +/-   ##
==========================================
+ Coverage   79.80%   80.04%   +0.24%     
==========================================
  Files         129      129              
  Lines       11111    11227     +116     
==========================================
+ Hits         8867     8987     +120     
+ Misses       2244     2240       -4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

m_columns[colIdx].arrowStructArray->field(0)
);

std::vector<uint8_t> bec(value, value + len);
Copy link
Collaborator

Choose a reason for hiding this comment

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

what bec stands for? big endian code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I used the same variable name before refactoring. I changed this to 'rawBytes'.

lib/results.c Outdated
break;
// treat any unknown type as string impossible to hit default though.
case SF_DB_TYPE_TEXT:
case SF_DB_TYPE_DECFLOAT:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure if it's reasonable to have default_size of decfloat set to max_varchar_size (currently 128M). Maybe have a const specifically for decfloat? Consider the precision of 38 and the max exponent of 16384, I think the length around 50 would be enough.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Move to a different case and set the default size to 50.

@sfc-gh-ext-simba-jy sfc-gh-ext-simba-jy marked this pull request as ready for review December 13, 2025 03:47
@sfc-gh-ext-simba-jy sfc-gh-ext-simba-jy requested a review from a team as a code owner December 13, 2025 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants