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

Function GetTimestampConversion

cpp/src/arrow/util/time.cc:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40};
41
42std::pair<DivideOrMultiply, int64_t> GetTimestampConversion(TimeUnit::type in_unit,
43 TimeUnit::type out_unit) {
44 return kTimestampConversionTable[static_cast<int>(in_unit)][static_cast<int>(out_unit)];
45}
46
47Result<int64_t> ConvertTimestampValue(const std::shared_ptr<DataType>& in,
48 const std::shared_ptr<DataType>& out,

Callers 7

ConvertTimestampValueFunction · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected