@@ -18,7 +18,7 @@ internal sealed unsafe class ListVectorDataWriter : VectorDataWriterBase
1818 public ListVectorDataWriter ( IntPtr vector , void * vectorData , DuckDBType columnType , DuckDBLogicalType logicalType ) : base ( vector , vectorData , columnType )
1919 {
2020 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 ) ;
2222
2323 arraySize = IsList ? 0 : ( ulong ) NativeMethods . LogicalType . DuckDBArrayVectorGetSize ( logicalType ) ;
2424 listItemWriter = VectorDataWriterFactory . CreateWriter ( childVector , childType ) ;
@@ -43,6 +43,9 @@ internal override bool AppendCollection(ICollection value, int rowIndex)
4343 IEnumerable < uint > items => WriteItems ( items ) ,
4444 IEnumerable < ulong > items => WriteItems ( items ) ,
4545
46+ IEnumerable < float > items => WriteItems ( items ) ,
47+ IEnumerable < double > items => WriteItems ( items ) ,
48+
4649 IEnumerable < decimal > items => WriteItems ( items ) ,
4750 IEnumerable < BigInteger > items => WriteItems ( items ) ,
4851
@@ -73,7 +76,7 @@ int WriteItems<T>(IEnumerable<T> items)
7376 if ( IsList == false && count != arraySize )
7477 {
7578 throw new InvalidOperationException ( $ "Column has Array size of { arraySize } but the specified value has size of { count } ") ;
76- } ;
79+ }
7780
7881 var index = 0 ;
7982
0 commit comments