Skip to content
Discussion options

You must be logged in to vote

It's not the table; it's the array. This line fails:

Array([datetime.now(tz=timezone.utc)], type=DataType.timestamp("ns", tz="UTC"))

It's true, right now in the array constructor, we support primitive, binary, and string types only:

let array: ArrayRef = match field.data_type() {
DataType::Float32 => impl_primitive!(f32, Float32Type),
DataType::Float64 => impl_primitive!(f64, Float64Type),
DataType::UInt8 => impl_primitive!(u8, UInt8Type),
DataType::UInt16 => impl_primitive!(u16, UInt16Type),
DataType::UInt32 => impl_primitive!(u32, UInt32Type),
DataType::UInt64 => impl_primitive!(u64, UI…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kylebarron
Comment options

@yunzheng
Comment options

Answer selected by yunzheng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants