17 #ifndef QUERYENGINE_DATETRUNCATE_H
18 #define QUERYENGINE_DATETRUNCATE_H
23 #include "../Shared/funcannotations.h"
56 "datetrunc_millisecond",
57 "datetrunc_microsecond",
58 "datetrunc_nanosecond",
59 "datetrunc_millennium",
62 "datetrunc_week_monday",
63 "datetrunc_week_sunday",
64 "datetrunc_week_saturday",
65 "datetrunc_quarterday"}};
77 #endif // QUERYENGINE_DATETRUNCATE_H
DEVICE int64_t DateTruncate(DatetruncField field, const int64_t timeval)
const rapidjson::Value & field(const rapidjson::Value &obj, const char field[]) noexcept
constexpr std::array< char const *, dtINVALID > datetrunc_fname_lookup
RUNTIME_EXPORT ALWAYS_INLINE DEVICE int64_t DateTruncateHighPrecisionToDate(const int64_t timeval, const int64_t scale)