kyle-mccarthy opened a new pull request, #6205: URL: https://github.com/apache/arrow-rs/pull/6205
# Which issue does this PR close? n/a # Rationale for this change Prior to this change, randomly generated temporal values spanned the entire range of their native types. For instance, `TimestampSecondType` generated values in the range of i64::MIN to i64::MAX; however, chrono's `DateTime::<Utc>::MAX_UTC` timestamp is `8210266876799`. At work, we making a translation layer for our internal data types to arrow's types. `create_random_array` and `create_random_batch` have been really helpful in terms of generating test data. # What changes are included in this PR? Defines a new `RandomTemporalValue` trait within `arrow::util::data_gen` that restricts the range when generating a random value. # Are there any user-facing changes? Yes. Docs have been added + no breaking changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org