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

clarify boolean value in DataType::Dictionary #718

Merged
merged 1 commit into from
Dec 28, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/datatypes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ pub enum DataType {
///
/// This type mostly used to represent low cardinality string
/// arrays or a limited set of primitive types as integers.
///
/// The `bool` value indicates the `Dictionary` is sorted if set to `true`.
Dictionary(IntegerType, Box<DataType>, bool),
/// Decimal value with precision and scale
/// precision is the number of digits in the number and
Expand Down