I have a timestamp as a string in a JSONB column that looks like this '2023-11-20T14:11:23Z' and I want to convert it to a real timestamp to apply date-functions and calculations. In Postgres, it worked with the CAST function. However, when creating a view with this function in RisingWave, querying the view throws an error. How can I achieve my goal to convert this string to a timestamp?
Georg Boegerl
Asked on Nov 21, 2023
CAST(payload->>'createdTime' as timestamp with time zone)