#include #include namespace DB { struct TransformFromNano { static constexpr auto name = "fromUnixTimestamp64Nano"; static constexpr auto target_scale = 9; using SourceDataType = DataTypeInt64; using ResultDataType = DataTypeDateTime64; }; void registerFromUnixTimestamp64Nano(FunctionFactory & factory) { factory.registerFunction>(); } }