Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Added documentation on parquet compatibility under TimeUnit. (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
TurnOfACard committed Sep 1, 2022
1 parent c6f1427 commit aa2feae
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/io/parquet/write/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
//! APIs to write to Parquet format.
//!
//! # Arrow/Parquet Interoperability
//! As of [parquet-format v2.9](https://github.com/apache/parquet-format/blob/master/LogicalTypes.md)
//! there are Arrow [DataTypes](crate::datatypes::DataType) which do not have a parquet
//! representation. These include but are not limited to:
//! * `DataType::Timestamp(TimeUnit::Second, _)`
//! * `DataType::Int64`
//! * `DataType::Duration`
//! * `DataType::Date64`
//! * `DataType::Time32(TimeUnit::Second)`
//!
//! The use of these arrow types will result in no logical type being stored within a parquet file.

mod binary;
mod boolean;
mod dictionary;
Expand Down

0 comments on commit aa2feae

Please sign in to comment.