Prerequisites
Prophecy connects to BigQuery using the credentials you provide. These credentials are used to authenticate your session and authorize all data operations during pipeline execution, including reading from and writing to tables. To use a BigQuery connection effectively, your user or service account should have:OWNERdataset role to be able to read, insert, update, and delete datasets.
Connection type
Prophecy supports BigQuery in two different roles.When BigQuery is a fabric
When BigQuery is ingress/egress
Feature support
The table below outlines whether the connection supports certain Prophecy features.Connection parameters
To create a connection with BigQuery, enter the following parameters.Authentication methods
You can authenticate your BigQuery connection using either OAuth or a Private Key. Each method grants Prophecy the ability to read and write data in your BigQuery environment based on the Identity and Access Management (IAM) roles assigned to the authenticated identity.OAuth (User-to-Machine)
OAuth is a user-based authentication (U2M) method best suited for interactive pipeline development. It allows each user to sign in with their own Google account, which ensures that data access is governed by their individual IAM roles and permissions. To leverage user-based OAuth:- Under Authentication method, select OAuth.
- Under App Registration, select the correct app registration or use the default.
- The user is prompted to sign in with their Google account.
- Prophecy uses the user’s credentials to authenticate the connection.
- The connection operates with the user’s IAM roles and permissions.
- Token management, including refresh, is handled automatically by Google. The default refresh token expiration time is 7 days.
For more about OAuth and how it works with Google Cloud, see Using OAuth 2.0 to Access Google
APIs.
Private Key (Machine-to-Machine)
Use a Service Account when you want a non-user identity for authentication (M2M). This is ideal for automated or shared processes that require stable, long-term access without re-authentication interruptions.- Create and download a Service Account Key from the Google Cloud console.
- Paste the full JSON content into a Prophecy secret as text. Binary upload is not supported.
- Open a BigQuery connection.
- Under Authentication method, select Private Key.
- Use the Prophecy secret in the Service Account Key field.
Data type mapping
When Prophecy processes data from Google BigQuery using an external SQL warehouse, it converts BigQuery data types to a compatible type.Learn more in Supported data types.

