def copy_table(
        self,
        table: sa.Table,
        query: sa.Select,
        progress_cb: Optional[Callable[[int], None]] = None,
    ) -> None:
        """
        Copy the results of a query into a table.
        """

        Copy the results of a query into a table.
        
src/datachain/data_storage/warehouse.py