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

Method resolve_partition_path

crates/paimon/src/table/table_write.rs:581–588  ·  view source on GitHub ↗
(&self, partition_bytes: &[u8])

Source from the content-addressed store, hash-verified

579 }
580
581 fn resolve_partition_path(&self, partition_bytes: &[u8]) -> Result<String> {
582 if self.partition_keys.is_empty() {
583 Ok(String::new())
584 } else {
585 let row = BinaryRow::from_serialized_bytes(partition_bytes)?;
586 self.partition_computer.generate_partition_path(&row)
587 }
588 }
589
590 /// Create an append-only writer for non-PK tables.
591 fn create_append_writer(&self, partition_path: String, bucket: i32) -> Result<FileWriter> {

Callers 1

create_writerMethod · 0.80

Calls 2

is_emptyMethod · 0.45

Tested by

no test coverage detected