File tree 2 files changed +3
-3
lines changed
vortex-duckdb/src/convert
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ pub trait ToDuckDB {
27
27
}
28
28
29
29
pub fn to_duckdb ( array : ArrayRef , chunk : & mut dyn WritableVector ) -> VortexResult < ( ) > {
30
- if let Some ( const_ ) = array. as_constant ( ) {
31
- let value = const_ . to_duckdb_scalar ( ) ;
30
+ if let Some ( constant ) = array. as_constant ( ) {
31
+ let value = constant . to_duckdb_scalar ( ) ;
32
32
chunk. flat_vector ( ) . assign_to_constant ( & value) ;
33
33
Ok ( ( ) )
34
34
} else if array. is_encoding ( DictEncoding . id ( ) ) {
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ pub fn ext_to_duckdb(ext_dtype: &ExtDType) -> LogicalTypeHandle {
73
73
} ,
74
74
TemporalMetadata :: Timestamp ( time_unit, tz) => {
75
75
if tz. is_some ( ) {
76
- vortex_panic ! ( InvalidArgument : "Timestamp with timezone is not yet" )
76
+ vortex_panic ! ( InvalidArgument : "Timestamp with timezone is not yet supported " )
77
77
}
78
78
match time_unit {
79
79
TimeUnit :: Ns => LogicalTypeHandle :: from ( LogicalTypeId :: TimestampNs ) ,
You can’t perform that action at this time.
0 commit comments