0.10.4 • Published 3 months ago

@vulcan-sql/extension-driver-bq v0.10.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

extension-driver-bq

nodejs-bigquery driver for Vulcan SQL.

Install

  1. Install package

    npm i @vulcan-sql/extension-driver-bq
  2. Update vulcan.yaml, enable the extension.

    extensions:
      bq: '@vulcan-sql/extension-driver-bq'
  3. Create a new profile in profiles.yaml or in your profiles' paths.

⚠️ Your service account must have the following permissions to successfully execute queries.

  • BigQuery Data Viewer
  • BigQuery Job User
- name: bq # profile name
  type: bq
  connection:
    # Location must match that of the dataset(s) referenced in the query.
    location: US
    # Optional: The max rows we should fetch once.
    chunkSize: 100
    # The project ID from the Google Developer's Console, e.g. 'grape-spaceship-123'. We will also check the environment variable `GCLOUD_PROJECT` for your project ID. If your app is running in an environment which [supports](https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application) Application Default Credentials), your project ID will be detected.
    projectId: 'your-project-id'
    # Full path to the a .json, .pem, or .p12 key downloaded from the Google Developers Console. If you provide a path to a JSON file, the `projectId` option above is not necessary. NOTE: .pem and .p12 require you to specify the `email` option as well.
    keyFilename: '/path/to/keyfile.json'

Testing

nx test extension-driver-bq

This library was generated with Nx.

To run test, the following environment variables are required:

  • BQ_LOCATION
  • BQ_PROJECT_ID
  • BQ_CLIENT_EMAIL
  • BQ_PRIVATE_KEY
0.10.4

4 months ago

0.10.4-beta.0

4 months ago

0.10.3

4 months ago

0.10.3-beta.0

4 months ago

0.9.1-beta.0

9 months ago

0.7.2-beta.0

9 months ago

0.7.2

9 months ago

0.6.0-beta.0

10 months ago

0.7.1

9 months ago

0.7.0

10 months ago

0.10.1

7 months ago

0.10.2

7 months ago

0.10.0

8 months ago

0.8.1

9 months ago

0.8.0

9 months ago

0.7.0-beta.0

10 months ago

0.9.0

9 months ago

0.9.1

9 months ago

0.9.0-beta.0

9 months ago

0.7.1-beta.0

9 months ago

0.10.0-beta.0

8 months ago

0.10.2-beta.0

7 months ago

0.10.1-beta.0

7 months ago

0.8.0-beta.0

9 months ago

0.8.1-beta.0

9 months ago

0.6.0

10 months ago

0.5.3-beta.0

10 months ago

0.5.3

10 months ago

0.5.2-beta.0

11 months ago

0.5.0-beta.0

11 months ago

0.5.1-beta.0

11 months ago

0.3.2-internal.1

12 months ago

0.3.2-internal.2

12 months ago

0.4.0

12 months ago

0.5.2

11 months ago

0.5.1

11 months ago

0.4.0-beta.0

12 months ago

0.3.2-beta.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.1-beta.0

1 year ago

0.3.0

2 years ago

0.3.0-beta.0

2 years ago