removing the 255 fields limit

This commit is contained in:
Paul Masurel
2017-04-19 20:07:38 +09:00
parent 202e69b7e0
commit 8d7445f08a

View File

@@ -100,9 +100,6 @@ impl SchemaBuilder {
/// Finalize the creation of a `Schema`
/// This will consume your `SchemaBuilder`
pub fn build(self,) -> Schema {
if self.fields.len() > MAX_NUM_FIELDS {
panic!("There may be at most 255 fields.");
}
Schema(Arc::new(InnerSchema {
fields: self.fields,
fields_map: self.fields_map,