MCPcopy Create free account
hub / github.com/apache/arrow / duration

Function duration

cpp/src/arrow/type.cc:3170–3172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3168}
3169
3170std::shared_ptr<DataType> duration(TimeUnit::type unit) {
3171 return std::make_shared<DurationType>(unit);
3172}
3173
3174std::shared_ptr<DataType> day_time_interval() {
3175 return std::make_shared<DayTimeIntervalType>();

Callers 15

DurationScalarFunction · 0.70
MaybeMergeTemporalTypesFunction · 0.70
InitStaticDataFunction · 0.70
TESTFunction · 0.70
TEST_FFunction · 0.70
type_test.ccFile · 0.70
SampleSchemasFunction · 0.70
json_internal.ccFile · 0.50
TEST_PFunction · 0.50
TESTFunction · 0.50
filesystem.hFile · 0.50

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.56
TEST_FFunction · 0.56
TEST_PFunction · 0.40
TESTFunction · 0.40
SetUpMethod · 0.40
SetUpMethod · 0.40
SetUpMethod · 0.40
TEST_FFunction · 0.40
TESTFunction · 0.40
GetScalarsFunction · 0.40
MakeIntervalsFunction · 0.40