chore: Add some docs to the execution_props API

pull/24376/head
Stuart Carnie 2023-05-31 12:31:38 +10:00
parent d9d7419693
commit 8c02f81456
No known key found for this signature in database
GPG Key ID: 848D9C9718D78B4F
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ pub(super) fn new_schemas() -> (Schemas, DataSourceSchema<'static>) {
(Schemas { df_schema }, DataSourceSchema::Table(iox_schema))
}
/// Return execution properties with a date of `2023-01-01T00:00:00Z`, which may be used to
/// evaluate the `now` function in data fusion logical expressions during simplification.
pub(super) fn execution_props() -> ExecutionProps {
let start_time = NaiveDate::from_ymd_opt(2023, 1, 1)
.unwrap()