tustvold commented on issue #3362: URL: https://github.com/apache/arrow-rs/issues/3362#issuecomment-1357761077
Do you have a reproducer, the following works correctly ``` #[test] fn test_time() { let schema = Arc::new( types::Type::group_type_builder("schema") .with_fields(&mut vec![Arc::new( types::Type::primitive_type_builder("col1", Type::INT64) .with_repetition(Repetition::REQUIRED) .with_converted_type(ConvertedType::TIME_MICROS) .build() .unwrap(), )]) .build() .unwrap(), ); let mut out = Vec::with_capacity(1024); let props = Arc::new(WriterProperties::builder().build()); let mut writer = SerializedFileWriter::new(&mut out, schema, props).unwrap(); let mut row_group = writer.next_row_group().unwrap(); let mut column = row_group.next_column().unwrap().unwrap(); column .typed::<Int64Type>() .write_batch(&[1, 2, 3], None, None) .unwrap(); column.close().unwrap(); row_group.close().unwrap(); writer.close().unwrap(); } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org