@staticmethod
def annotate_with_row_schema(table, row_schema):
    """
        Annotate/extend a table of log-records with additional columns from
        the log-record schema if columns are missing.

        :param table:   Table w/ log-records (as :class:`behave.model.Table`)
        :param row_schema:  Log-record row schema (as dict).
        """
    for column, value in row_schema.items():
        if column not in table.headings:
            table.add_column(column, default_value=value)
