Google has recently introduced a new pricing model for BigQuery under the name of “BigQuery flex slots”. What is this new pricing approach and when should you choose for it? This article will focus on this new pricing and on how to programmatically get slots and assign them to your project. The code available here will give you two Cloud functions that can be parameterized with number of slots des
![BigQuery Flex Slots Pricing: A programmatic approach](https://cdn-ak-scissors.b.st-hatena.com/image/square/ad0b12e558b88a13d5c788f3441b45bcd6f3e560/height=288;version=1;width=512/https%3A%2F%2Fwww.fourcast.io%2Fhubfs%2Fpiggy-bank-1595992_1920.jpg%23keepProtocol)