Panic in pretty_format
function when displaying DurationSecondsArray with i64::MIN
/ i64::MAX
#7533
Labels
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Panic in
pretty_format
function when displaying DurationSecondsArray withi64::MIN
/i64::MAX
To Reproduce
Cargo.toml
Results in a panic
Details
Expected behavior
I expect the program to print without panic (perhaps a blank or message about invalid duration)
Additional context
The Arrow format does not seem to impose any numerical limits on the values of a Duration::Second:
https://github.com/apache/arrow/blob/a1707dba7c9ec4265c048586c485c526048cf162/format/Schema.fbs#L421-L434
The text was updated successfully, but these errors were encountered: