Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.03 KB

File metadata and controls

39 lines (30 loc) · 2.03 KB

Chainlink External Adapter for Google BigQuery

An adapter to run queries on Google BigQuery.

Environment Variables

For more information on configuration variables specific to Google BigQuery, please see their documentation: https://googleapis.dev/nodejs/bigquery/latest/global.html#BigQueryOptions

Required? Name Description Options Defaults to
PROJECT_ID See Google's docs for more info
KEY_FILENAME See Google's docs for more info
AUTO_RETRY See Google's docs for more info. Default: true
MAX_RETRIES See Google's docs for more info. Default: 3
LOCATION See Google's docs for more info

Input Parameters

Required? Name Description Options Defaults to
query The query to run
params Optional params to use in the query. See Google BigQuery's documentation.

Sample Input

{
  "id": "1",
  "data": {
    "query": "SELECT url FROM `publicdata.samples.github_nested` WHERE repository.owner = @owner",
    "params": {
      "owner": "google"
    }
  }
}