MCPcopy Create free account
hub / github.com/acking-you/static_flow / string_array

Function string_array

crates/store/src/lancedb_api.rs:3073–3078  ·  view source on GitHub ↗
(batch: &'a RecordBatch, name: &str)

Source from the content-addressed store, hash-verified

3071}
3072
3073fn string_array<'a>(batch: &'a RecordBatch, name: &str) -> Result<&'a StringArray> {
3074 column(batch, name)?
3075 .as_any()
3076 .downcast_ref::<StringArray>()
3077 .with_context(|| format!("column {name} is not StringArray"))
3078}
3079
3080fn optional_string_array<'a>(batch: &'a RecordBatch, name: &str) -> Option<&'a StringArray> {
3081 batch

Callers 10

count_unique_categoriesFunction · 0.70
batches_to_search_rowsFunction · 0.70
batches_to_article_listFunction · 0.70
batches_to_articlesFunction · 0.70
batches_to_imagesFunction · 0.70

Calls 2

columnFunction · 0.85
with_contextMethod · 0.45

Tested by

no test coverage detected