Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow-rs
/ parse
Method
parse
arrow-cast/src/parse.rs:447–451 ·
view source on GitHub ↗
(string: &str)
Source
from the content-addressed store, hash-verified
445
446
impl Parser for Float16Type {
447
fn parse(string: &str) -> Option<f16> {
448
lexical_core::parse(string.as_bytes())
449
.ok()
450
.map(f16::from_f32)
451
}
452
}
453
454
impl Parser for Float32Type {
Callers
11
string_to_datetime
Function · 0.45
parse_extended_ymd
Function · 0.45
from_str_or_config
Method · 0.45
parse_interval_components
Function · 0.45
string_without_timezone_to_timestamp
Function · 0.45
timestamp_to_date32
Function · 0.45
cast_with_options
Function · 0.45
test_tz
Function · 0.45
cast_string_to_timestamp
Function · 0.45
cast_view_to_timestamp
Function · 0.45
build_timestamp_array
Function · 0.45
Calls
12
string_to_timestamp_nanos
Function · 0.85
string_to_time_nanoseconds
Function · 0.85
parse_date_to_days
Function · 0.85
parse_date
Function · 0.85
default
Function · 0.85
string_to_datetime
Function · 0.85
parse_interval_components
Function · 0.85
parse
Function · 0.50
as_bytes
Method · 0.45
len
Method · 0.45
into_iter
Method · 0.45
add
Method · 0.45
Tested by
2
string_without_timezone_to_timestamp
Function · 0.36
test_tz
Function · 0.36