You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: QueryError: Feature is not yet implemented: ToChar[Timestamptz, unknown]
Tracking issue: https://github.com/risingwavelabs/risingwave/issues/112
to_char ( timestamp, text ) → text is supported:
dev=> select to_char(now()::timestamp, 'YYYY-MM-DD HH24:MI:SS.MS TZ');
NOTICE: Your session timezone is UTC. It was used in the interpretation of timestamps and dates in your query. If this is unintended, change your timezone to match that of your data's with `set timezone = [timezone]` or rewrite your query with an explicit timezone conversion, e.g. with `AT TIME ZONE`.
to_char
---------------------------
2023-02-06 05:04:17.MS TZ
(1 row)
to_char ( timestamp with time zone, text ) → text is not.
Describe the solution you'd like
Converts time stamp to string according to the given format.
neverchanje
changed the title
Support conversion from timestamp to text: to_char(timestamp, text)
Support conversion from timestamp to text: to_char(timestamptz, text)
Feb 15, 2023
Is your feature request related to a problem? Please describe.
This query fails with the following error:
to_char ( timestamp, text ) → text
is supported:to_char ( timestamp with time zone, text ) → text
is not.Describe the solution you'd like
Converts time stamp to string according to the given format.
Describe alternatives you've considered
No response
Additional context
Sqllogictest:
The text was updated successfully, but these errors were encountered: