Skip to content

Commit d6695b0

Browse files
committed
fixup
1 parent 2ce0807 commit d6695b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vortex-duckdb/src/convert/array/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pub trait ToDuckDB {
2727
}
2828

2929
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();
3232
chunk.flat_vector().assign_to_constant(&value);
3333
Ok(())
3434
} else if array.is_encoding(DictEncoding.id()) {

vortex-duckdb/src/convert/types/to.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub fn ext_to_duckdb(ext_dtype: &ExtDType) -> LogicalTypeHandle {
7373
},
7474
TemporalMetadata::Timestamp(time_unit, tz) => {
7575
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")
7777
}
7878
match time_unit {
7979
TimeUnit::Ns => LogicalTypeHandle::from(LogicalTypeId::TimestampNs),

0 commit comments

Comments
 (0)