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

Function AsTimestampType

cpp/src/arrow/scalar.cc:1163–1165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1161
1162template <typename TypeWithTimeUnit>
1163std::shared_ptr<DataType> AsTimestampType(const std::shared_ptr<DataType>& type) {
1164 return timestamp(checked_cast<const TypeWithTimeUnit&>(*type).unit());
1165}
1166
1167// duration to duration
1168template <typename To>

Callers

nothing calls this directly

Calls 2

timestampFunction · 0.70
unitMethod · 0.45

Tested by

no test coverage detected