Skip to main content

write_shared_attributes_with_schema

Function write_shared_attributes_with_schema 

Source
fn write_shared_attributes_with_schema(
    writer: &mut TableData,
    prefix: &str,
    attributes: &Attributes,
    row: &mut Vec<Value>,
    row_index: usize,
    batch_schema: Option<&mut TraceBatchSchema>,
) -> Result<()>
Expand description

Writes flattened attributes shared by every span of a resource or scope.

The column name is rebuilt from prefix, so keys are read in place and only values that reach a row are copied.