1
1
using System ;
2
- using DuckDB . NET . Data . Internal . Reader ;
3
2
using DuckDB . NET . Native ;
4
3
5
4
namespace DuckDB . NET . Data . Internal . Writer ;
@@ -16,14 +15,20 @@ public static unsafe VectorDataWriterBase CreateWriter(IntPtr vector, DuckDBLogi
16
15
DuckDBType . Uuid => new GuidVectorDataWriter ( vector , dataPointer , columnType ) ,
17
16
DuckDBType . Date => new DateTimeVectorDataWriter ( vector , dataPointer , columnType ) ,
18
17
DuckDBType . Time => new DateTimeVectorDataWriter ( vector , dataPointer , columnType ) ,
18
+ DuckDBType . TimeTz => throw new NotImplementedException ( $ "Writing { columnType } to data chunk is not yet supported") ,
19
19
DuckDBType . Interval => new IntervalVectorDataWriter ( vector , dataPointer , columnType ) ,
20
20
DuckDBType . Timestamp => new DateTimeVectorDataWriter ( vector , dataPointer , columnType ) ,
21
21
22
22
DuckDBType . Boolean => new BooleanVectorDataWriter ( vector , dataPointer , columnType ) ,
23
23
24
+ DuckDBType . Map => throw new NotImplementedException ( $ "Writing { columnType } to data chunk is not yet supported") ,
25
+ DuckDBType . List => throw new NotImplementedException ( $ "Writing { columnType } to data chunk is not yet supported") ,
26
+ DuckDBType . Array => throw new NotImplementedException ( $ "Writing { columnType } to data chunk is not yet supported") ,
24
27
DuckDBType . Blob => new StringVectorDataWriter ( vector , dataPointer , columnType ) ,
25
28
DuckDBType . Varchar => new StringVectorDataWriter ( vector , dataPointer , columnType ) ,
26
-
29
+ DuckDBType . Bit => throw new NotImplementedException ( $ "Writing { columnType } to data chunk is not yet supported") ,
30
+ DuckDBType . Enum => throw new NotImplementedException ( $ "Writing { columnType } to data chunk is not yet supported") ,
31
+ DuckDBType . Struct => throw new NotImplementedException ( $ "Writing { columnType } to data chunk is not yet supported") ,
27
32
DuckDBType . Decimal => new DecimalVectorDataWriter ( vector , dataPointer , logicalType , columnType ) ,
28
33
DuckDBType . TimestampS => new DateTimeVectorDataWriter ( vector , dataPointer , columnType ) ,
29
34
DuckDBType . TimestampMs => new DateTimeVectorDataWriter ( vector , dataPointer , columnType ) ,
0 commit comments