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

Method schema_path

crates/paimon/src/table/schema_manager.rs:76–78  ·  view source on GitHub ↗

Path to a specific schema file (e.g. `{table_path}/schema/schema-0`).

(&self, schema_id: i64)

Source from the content-addressed store, hash-verified

74
75 /// Path to a specific schema file (e.g. `{table_path}/schema/schema-0`).
76 pub fn schema_path(&self, schema_id: i64) -> String {
77 format!("{}/{}{}", self.schema_directory(), SCHEMA_PREFIX, schema_id)
78 }
79
80 /// List all schema ids sorted ascending. Returns an empty vector if the
81 /// schema directory is missing or empty.

Callers 3

write_schemaFunction · 0.80
schemaMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected