def get_table_columns(metadata):
    """ Extract columns names and python typos from metadata

    Args:
        metadata: Table metadata

    Returns:
        dict with columns names and python types
    """
    cols = OrderedDict()
    for col in metadata.c:
        name = str(col).rpartition(".")[2]
        cols[name] = col.type.python_type.__name__
    return cols
Extract columns names and python typos from metadata

    Args:
        metadata: Table metadata

    Returns:
        dict with columns names and python types