From 216fc857c63f0827d1539a73ed8815607b398513 Mon Sep 17 00:00:00 2001 From: Shingo OKAWA Date: Fri, 14 Apr 2023 11:16:53 +0900 Subject: [PATCH] Add description of decimal primitive to SchemaDataType (#1281) # Description Add description of `decimal` primitive into the documentation comment of `schema::SchemaDataType` # Related Issue(s) - closes #1280 # Documentation [schema::SchemaDataType](https://docs.rs/deltalake/latest/deltalake/schema/enum.SchemaDataType.html) Signed-off-by: Shingo OKAWA --- rust/src/schema.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/schema.rs b/rust/src/schema.rs index 831d57b4f9..931a225301 100644 --- a/rust/src/schema.rs +++ b/rust/src/schema.rs @@ -300,6 +300,7 @@ pub enum SchemaDataType { /// * binary: a sequence of binary data /// * date: A calendar date, represented as a year-month-day triple without a timezone /// * timestamp: Microsecond precision timestamp without a timezone + /// * decimal: Signed decimal number with fixed precision (maximum number of digits) and scale (number of digits on right side of dot), where the precision and scale can be up to 38 primitive(String), /// Variant representing a struct. r#struct(SchemaTypeStruct),