Run a saved bigquery query from Google Apps Script?

前端 未结 4 1154
忘掉有多难
忘掉有多难 2021-02-10 20:41

We frequently use Google Apps script to run BigQuery queries and put them into a Google Sheet. However, the workflow is annoying:

  1. Run the query in BigQuery until y
4条回答
  •  星月不相逢
    2021-02-10 21:04

    At my blog, I wrote an article that shows how to front-end a BigQuery project with a Google Apps Script application "owned" by a Google Drive spreadsheet. The article describes a simple example application available at my GitHub repository. This sample application

    1) builds a web page that directly queries BigQuery

    2) shows the result set on the web page

    3) mirrors the result set on the spreadsheet

    The sample solution has two small files - that's it. You probably have a BigQuery project more complicated than the one featured in the article, but the main idea of the article / sample should extend to your situation.

提交回复
热议问题