MCPcopy Create free account
hub / github.com/apache/datafusion / sa

Function sa

datafusion/spark/src/function/url/parse_url.rs:358–360  ·  view source on GitHub ↗
(vals: &[Option<&str>])

Source from the content-addressed store, hash-verified

356 use std::array::from_ref;
357
358 fn sa(vals: &[Option<&str>]) -> ArrayRef {
359 Arc::new(StringArray::from(vals.to_vec())) as ArrayRef
360 }
361
362 #[test]
363 fn test_parse_host() -> Result<()> {

Calls 2

newFunction · 0.85
to_vecMethod · 0.80