Module temporal
Expand description
Defines temporal kernels for time and date related functions.
Enums§
- Date
Part - Valid parts to extract from date/time/timestamp arrays.
Functions§
- date_
part - Given an array, return a new array with the extracted
DatePart
as signed 32-bit integer values. - day
Deprecated - Extracts the day of a given temporal primitive array as an array of integers
- day_dyn
Deprecated - Extracts the day of a given temporal array as an array of integers.
- doy
Deprecated - Extracts the day of year of a given temporal primitive array as an array of integers.
- doy_dyn
Deprecated - Extracts the day of year of a given temporal array as an array of integers.
- hour
Deprecated - Extracts the hours of a given temporal primitive array as an array of integers within the range of [0, 23].
- hour_
dyn Deprecated - Extracts the hours of a given array as an array of integers within
the range of [0, 23]. If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - microsecond
Deprecated - Extracts the microseconds of a given temporal primitive array as an array of integers
- microsecond_
dyn Deprecated - Extracts the microseconds of a given temporal primitive array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - millisecond
Deprecated - Extracts the milliseconds of a given temporal primitive array as an array of integers
- millisecond_
dyn Deprecated - Extracts the milliseconds of a given temporal primitive array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - minute
Deprecated - Extracts the minutes of a given temporal primitive array as an array of integers
- minute_
dyn Deprecated - Extracts the minutes of a given temporal array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - month
Deprecated - Extracts the month of a given temporal primitive array as an array of integers within the range of [1, 12].
- month_
dyn Deprecated - Extracts the month of a given temporal array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - nanosecond
Deprecated - Extracts the nanoseconds of a given temporal primitive array as an array of integers
- nanosecond_
dyn Deprecated - Extracts the nanoseconds of a given temporal primitive array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - num_
days_ from_ monday Deprecated - Extracts the day of week of a given temporal primitive array as an array of integers.
- num_
days_ from_ monday_ dyn Deprecated - Extracts the day of week of a given temporal array as an array of integers.
- num_
days_ from_ sunday Deprecated - Extracts the day of week of a given temporal primitive array as an array of integers, starting at Sunday.
- num_
days_ from_ sunday_ dyn Deprecated - Extracts the day of week of a given temporal array as an array of integers, starting at Sunday.
- quarter
Deprecated - Extracts the quarter of a given temporal primitive array as an array of integers within the range of [1, 4].
- quarter_
dyn Deprecated - Extracts the quarter of a given temporal array as an array of integersa within
the range of [1, 4]. If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - second
Deprecated - Extracts the seconds of a given temporal primitive array as an array of integers
- second_
dyn Deprecated - Extracts the seconds of a given temporal array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - week
Deprecated - Extracts the week of a given temporal primitive array as an array of integers
- week_
dyn Deprecated - Extracts the week of a given temporal array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned. - year
Deprecated - Extracts the years of a given temporal primitive array as an array of integers
- year_
dyn Deprecated - Extracts the years of a given temporal array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an
Err
will be returned.