libraryDependencies += "com.precog" %% "quasar-destination-gbq" % <version>
{
"name": <destination-name>,
"type": {
"name": "gbq",
"version": 1
},
"config": {
"authCfg": <service-account-json-auth-file-contents>,
"datasetId": <dataset-name>,
"maxFileSize": Number?
}
}
destination-name
is what you would like to name the destinationservice-account-json-auth-file-contents
is the contents of your service account authentication json file in string formatdataset-name
is the dataset name you would like your table to be pushed intomaxFileSize
is optional parameter, default to 2^30, determines size of streams uploaded to BigQuery as files, e.g. by default 30Gb stream will be uploaded as 30 files.
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"