Hi Team, technical question regarding Rudder Bigqu...
# support
g
Hi Team, technical question regarding Rudder Bigquery destination - Is rudder code making any queries to BQ ? Because as you might know, BQ charges by amount of data consumed in each query and I have I see billing related to Rudder queries in my BQ project. To be clear - I expect billing in BQ coming from ingesting and storing data into GCS and BQ, but not from actually running queries against BQ
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
g
And more...
I am not sure of the purpose of these queries - Looks like bookkeeping and cleanups perhaps It would be good to make sure they are optimized for cost though https://cloud.google.com/blog/products/data-analytics/cost-optimization-best-practices-for-bigquery#~text=Cost%20optimiz[…]3A%20query%20processing
h
Why use a warehouse where you have to worry about cost to run a query? Serious question
m
Will check this out and revert
g
Why use a warehouse where you have to worry about cost to run a query?
This is their (BQ) pricing model, I guess it works as there's demand for this product. You have visibility and control over the queries you run yourself, but having some process running behind the scene that consumes $ without your control can be problematic. If it's optimized and capped then it may be fine...
m
Hi Michael this query is to write user_ids to the warehouse. You can skip this part of the code if you do not write user_tables to the warehouse. You can use this code
Copy code
event.integrations = {
    "BIGQUERY": {
        options: {
            skipUsersTable: true
        }
    }
}