Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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<()> {
Callers
5
test_spark_utf8_two_args
Function · 0.85
test_spark_utf8_three_args_query_key
Function · 0.85
test_spark_userinfo_and_nulls
Function · 0.85
test_invalid_arg_count
Function · 0.85
test_non_string_types_error
Function · 0.85
Calls
2
new
Function · 0.85
to_vec
Method · 0.80
Tested by
5
test_spark_utf8_two_args
Function · 0.68
test_spark_utf8_three_args_query_key
Function · 0.68
test_spark_userinfo_and_nulls
Function · 0.68
test_invalid_arg_count
Function · 0.68
test_non_string_types_error
Function · 0.68