This makes use of the Batch SQL API to generate the views in parallel.
It currently adds the jobs but does not wait for them to finish - we might want to add a loop.
Also the Batch API does not have query dependency support so I've had to resolve dependencies by their origin table name and queue them up as a single query.
This makes use of the Batch SQL API to generate the views in parallel.
It currently adds the jobs but does not wait for them to finish - we might want to add a loop.
Also the Batch API does not have query dependency support so I've had to resolve dependencies by their origin table name and queue them up as a single query.
cc @pnorman