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

Giorgi / DuckDB.NET / 22921736195

10 Mar 2026 07:24PM UTC coverage: 89.526% (+0.08%) from 89.45%
22921736195

push

github

Giorgi
Update global.json

1255 of 1463 branches covered (85.78%)

Branch coverage included in aggregate %.

2651 of 2900 relevant lines covered (91.41%)

447643.55 hits per line

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

73.33
/DuckDB.NET.Data/DataChunk/Reader/GuidVectorDataReader.cs
1
namespace DuckDB.NET.Data.DataChunk.Reader;
2

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

9
    protected override T GetValidValue<T>(ulong offset, Type targetType)
10
    {
11
        if (DuckDBType != DuckDBType.Uuid)
24!
12
        {
13
            return base.GetValidValue<T>(offset, targetType);
×
14
        }
15

16
        var hugeInt = GetFieldData<DuckDBHugeInt>(offset);
24✔
17

18
        var guid = hugeInt.ConvertToGuid();
24✔
19
        return (T)(object)guid;
24✔
20
    }
21

22
    internal override object GetValue(ulong offset, Type targetType)
23
    {
24
        if (DuckDBType != DuckDBType.Uuid)
1,200,274!
25
        {
26
            return base.GetValue(offset, targetType);
×
27
        }
28

29
        var hugeInt = GetFieldData<DuckDBHugeInt>(offset);
1,200,274✔
30

31
        return hugeInt.ConvertToGuid();
1,200,274✔
32
    }
33
}
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