Schedule query in BigQuery

前端 未结 4 1137
轮回少年
轮回少年 2020-11-30 11:57

I have a BigQuery query which unions two tables (daily Google Analytics exports). What I want is to save the query as a view or table but have that final view/table update a

4条回答
  •  独厮守ぢ
    2020-11-30 12:21

    To add to Mikhail's answer - check out this easy-to-deploy Google sheet:

    https://docs.google.com/spreadsheets/d/1JZkkKcT9yrcYc1g8QqJaIE6PJtoFig3G_ZNbtXuK6fw/edit

    1. Copy this sheet.
    2. Customize with your query and destination.
    3. Run script, ensure permissions are set up right.
    4. Schedule an hourly/daily/etc trigger.

    Source: https://twitter.com/anilopez/status/958382085407883264

提交回复
热议问题