/quasar-destination-gbq

Quasar connector providing support for Google BigQuery as a push destination

Primary LanguageScala

quasar-destination-gbq Discord

Usage

libraryDependencies += "com.precog" %% "quasar-destination-gbq" % <version>

Configuration

{
  "name": <destination-name>,
  "type": {
    "name": "gbq",
    "version": 1
  },
  "config": {
    "authCfg": <service-account-json-auth-file-contents>,
    "datasetId": <dataset-name>
  }
}
  • destination-name is what you would like to name the destination
  • service-account-json-auth-file-contents is the contents of your service account authentication json file in string format
  • dataset-name is the dataset name you would like your table to be pushed into

Testing

In order to run the tests, you must first decrypt the secret. You'll need to have the environment variable ENCRYPTION_PASSWORD set.

./sbt "decryptSecret core/src/test/resources/precog-ci-275718-e913743ebfeb.json.enc"