def get_payload_subset(columns, cube):
    """
    Get payload column subset from a given set of columns.

    Parameters
    ----------
    columns: Iteratable[str]
        Columns.
    cube: kartothek.core.cube.cube.Cube
        Cube specification.

    Returns
    -------
    payload: Set[str]
        Payload columns.
    """
    return set(columns) - set(cube.dimension_columns) - set(cube.partition_columns)