Well to be honest, there is a better way to do it. Two ways to do it for performance and one if you look into BigQuery API.
So recall that
Select * from `tableName`
is an expensive operation for your database. In order to speed up the read time you could instead:
Select <field1>, <field2>, ...., from `tableName`
Of course, listing all the field names is not possible in many cases, but you will get roughly twice the speed up.
But instead of doing that you can follow the example here. This will also give you roughly twice the speed up as well and is much more convenient.
Let me know if you need a coded example of the link provided, Cheers!