last_value
and first_value
returns this error:
Error while planning query: type_coercion
caused by
Error during planning: Coercion from [Utf8] to the signature OneOf([ArraySignature(Array), Uniform(1, [Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64])]) failed.: rpc error: code = InvalidArgument desc = Error while planning query: type_coercion
caused by
Error during planning: Coercion from [Utf8] to the signature OneOf([ArraySignature(Array), Uniform(1, [Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64])]) failed.
when using it like:
last_value(label ORDER BY time ASC) AS label_value
time has this format: ā2024-06-02 23:59:00ā