Parsing Time Strings in OPAL

Time in Observability data is a complicated subject, and there are a variety of tools for solving specific problems. See Time Functions for an overview of these tools. As a rule, when Observe recognizes a datetime column data type in data, the datetime is set appropriately. However, we often will need to extract dates and times from string columns in the data payload, which is where parse_timestamp and format_time come in.

The parse_timestamp function produces a timestamp column from a formatted string. The format_time function produces a formatted string from a timestamp column.