@@ -18,7 +18,7 @@ internal sealed unsafe class ListVectorDataWriter : VectorDataWriterBase
18
18
public ListVectorDataWriter ( IntPtr vector , void * vectorData , DuckDBType columnType , DuckDBLogicalType logicalType ) : base ( vector , vectorData , columnType )
19
19
{
20
20
using var childType = IsList ? NativeMethods . LogicalType . DuckDBListTypeChildType ( logicalType ) : NativeMethods . LogicalType . DuckDBArrayTypeChildType ( logicalType ) ;
21
- var childVector = IsList ? NativeMethods . Vectors . DuckDBListVectorGetChild ( vector ) : NativeMethods . Vectors . DuckDBArrayVectorGetChild ( vector ) ; ;
21
+ var childVector = IsList ? NativeMethods . Vectors . DuckDBListVectorGetChild ( vector ) : NativeMethods . Vectors . DuckDBArrayVectorGetChild ( vector ) ;
22
22
23
23
arraySize = IsList ? 0 : ( ulong ) NativeMethods . LogicalType . DuckDBArrayVectorGetSize ( logicalType ) ;
24
24
listItemWriter = VectorDataWriterFactory . CreateWriter ( childVector , childType ) ;
@@ -43,6 +43,9 @@ internal override bool AppendCollection(ICollection value, int rowIndex)
43
43
IEnumerable < uint > items => WriteItems ( items ) ,
44
44
IEnumerable < ulong > items => WriteItems ( items ) ,
45
45
46
+ IEnumerable < float > items => WriteItems ( items ) ,
47
+ IEnumerable < double > items => WriteItems ( items ) ,
48
+
46
49
IEnumerable < decimal > items => WriteItems ( items ) ,
47
50
IEnumerable < BigInteger > items => WriteItems ( items ) ,
48
51
@@ -73,7 +76,7 @@ int WriteItems<T>(IEnumerable<T> items)
73
76
if ( IsList == false && count != arraySize )
74
77
{
75
78
throw new InvalidOperationException ( $ "Column has Array size of { arraySize } but the specified value has size of { count } ") ;
76
- } ;
79
+ }
77
80
78
81
var index = 0 ;
79
82
0 commit comments