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

Giorgi / DuckDB.NET / 21786556530

07 Feb 2026 08:39PM UTC coverage: 89.155% (-0.07%) from 89.223%
21786556530

push

github

Giorgi
Added support for clearing in-progress adapter

Requires DuckDB 1.5

1199 of 1393 branches covered (86.07%)

Branch coverage included in aggregate %.

6 of 8 new or added lines in 1 file covered. (75.0%)

193 existing lines in 43 files now uncovered.

2336 of 2572 relevant lines covered (90.82%)

557295.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

69.23
/DuckDB.NET.Data/DataChunk/Reader/BooleanVectorDataReader.cs
1
namespace DuckDB.NET.Data.DataChunk.Reader;
2

3
internal sealed class BooleanVectorDataReader : VectorDataReaderBase
4
{
5
    internal unsafe BooleanVectorDataReader(void* dataPointer, ulong* validityMaskPointer, DuckDBType columnType, string columnName) : base(dataPointer, validityMaskPointer, columnType, columnName)
360✔
6
    {
7
    }
360✔
8

9
    protected override T GetValidValue<T>(ulong offset, Type targetType)
10
    {
11
        if (DuckDBType != DuckDBType.Boolean)
87!
12
        {
UNCOV
13
            return base.GetValidValue<T>(offset, targetType);
×
14
        }
15
        
16
        var value = GetFieldData<bool>(offset);
87✔
17
        return (T)(object)value; //JIT will optimize the casts at least for not nullable T
87✔
18
    }
19

20
    internal override object GetValue(ulong offset, Type targetType)
21
    {
22
        if (DuckDBType != DuckDBType.Boolean)
1,121,287!
23
        {
UNCOV
24
            return base.GetValue(offset, targetType);
×
25
        }
26

27
        return GetFieldData<bool>(offset);
1,121,287✔
28
    }
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc