1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};
use sp_std::prelude::*;

/// Parquet String types: <https://github.com/apache/parquet-format/blob/master/LogicalTypes.md>
/// NOTE: We are not supporting ENUMs yet.

#[derive(Clone, PartialEq, Debug, Eq, Serialize, Deserialize)]
#[serde(rename_all = "UPPERCASE")]
pub enum ParquetStringType {
	/// Parquet strings
	String,
	/// Parquet UUIDs
	UUID,
}