MCPcopy Create free account
hub / github.com/apache/paimon-rust / build

Method build

crates/paimon/src/spec/schema.rs:664–672  ·  view source on GitHub ↗

Build the schema (validates and normalizes).

(self)

Source from the content-addressed store, hash-verified

662
663 /// Build the schema (validates and normalizes).
664 pub fn build(self) -> crate::Result<Schema> {
665 Schema::new(
666 self.columns,
667 self.partition_keys,
668 self.primary_keys,
669 self.options,
670 self.comment,
671 )
672 }
673
674 /// Recursively assign field IDs to nested fields in complex types.
675 fn assign_nested_field_ids(data_type: DataType, next_id: &mut i32) -> DataType {

Calls

no outgoing calls

Tested by

no test coverage detected