Skip to main content
Dependencies:
  • ProphecyWarehousePython 0.0.9+
  • ProphecyLibsPython 1.9.42+
Cluster requirements:
  • UC dedicated clusters 14.3+ supported
  • UC standard clusters 14.3+ supported
  • Livy clusters not supported
Built onThis connector is built on top of the already available Apache Spark SQL connector for Google BigQuery. For non-Databricks clusters, install the corresponding library, and see Spark BigQuery library compatibility matrix documentation.
You can read from and write to BigQuery.

Parameters

Credentials

Retrieve JSON credentials

To get your JSON Credentials from BigQuery:
  1. Navigate to your Google Cloud Credentials page.
  2. In the top navigation bar, click + CREATE CREDENTIALS.
  3. Select Service account.
  4. If you don’t have a Service account, create a service account.
    • If you don’t have a Service account, enter your Service account name, Service account ID, and Service account description.
    • Click Create and continue.
    • Click Done.
  5. Under the Service Accounts section, click on your service account email.
  6. Navigate to the Keys tab.
  7. Create a new key.
    • Click Add key.
    • Click Create new key.
    • Select the JSON key type.
    • Click Create.

Source

The Source gem reads data from BigQuery and allows you to optionally specify the following additional properties.

Source properties

Example

The following example fetches all customer data from BigQuery table using Prophecy.

Compiled code

To see the compiled code of your project, switch to the Code view in the project header.

Target

The Target gem writes data to BigQuery and allows you to optionally specify the following additional properties.

Target properties

Supported write modes

Compiled code

To see the compiled code of your project, switch to the Code view in the project header.