• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Giorgi / DuckDB.NET / 38363493621
93%

Build:
DEFAULT BRANCH: develop
Ran 13 Oct 2026 07:37AM UTC
Jobs 3
Files 85
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Oct 2026 07:34AM UTC coverage: 92.692% (+0.04%) from 92.651%
38363493621

push

github

Giorgi
Encode a string in the writer and write a short one into the vector

A string was passed to duckdb_vector_assign_string_element, so the
marshaller of the call encoded it to UTF-8 with a terminator, and DuckDB
measured it again and checked the UTF-8.

The writer now encodes it. A string of up to 12 bytes is written straight
into the vector, in the layout of DuckDB's string_t, with no native call.
A longer one is encoded on the stack, or into a rented array above 170
characters, and handed to duckdb_unsafe_vector_assign_string_element_len
with its length. What the encoder writes is always valid UTF-8, so
DuckDB's check is skipped.

A string still ends at its first NUL character, as it did when DuckDB
measured it as a C string.

Checked: 27,016 strings appended to a VARCHAR, a VARCHAR[] and a BLOB
column and returned from a scalar function are stored byte for byte as by
1.5.6-alpha.74, on net8.0 and net10.0. Not yet benchmarked.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TXdqHuNtM7YXS8B65qdfxX

1936 of 2141 branches covered (90.43%)

Branch coverage included in aggregate %.

22 of 22 new or added lines in 1 file covered. (100.0%)

3632 of 3866 relevant lines covered (93.95%)

1036451.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-macos-14 - 38363493621.1 13 Oct 2026 07:37AM UTC 85
92.69
GitHub Action Run
2 run-ubuntu-latest - 38363493621.2 13 Oct 2026 07:38AM UTC 85
92.69
GitHub Action Run
3 run-windows-latest - 38363493621.3 13 Oct 2026 07:41AM UTC 85
92.69
GitHub Action Run
Source Files on build 38363493621
  • Tree
  • List 85
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38363493621
  • 4ef7efbb on github
  • Prev Build on develop (#38361832757)
  • Next Build on develop (#38377045766)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc