Google BigQuery

BigQuery is supported as both a data source and a write target, with authentication via a Google Cloud service account.

Connection Settings

Field Required Description
Database ✅ Your Google Cloud project ID (e.g. my-project-123)
Encoding ✅ utf8 or utf16

Credentials

BigQuery uses a service account for authentication. You need the following fields from your service account's JSON key file:

Field Required Where to find it
Client ID ✅ client_id in the JSON key
Client Email ✅ client_email in the JSON key
Private Key ID ✅ private_key_id in the JSON key
Private Key ✅ private_key in the JSON key (the full PEM string)

To set up a service account:

  1. Go to the Google Cloud Console
  2. Create a new service account (or use an existing one)
  3. Grant it the BigQuery Data Editor and BigQuery Job User roles (for read/write access)
  4. Create a JSON key and download it
  5. Copy the four fields above into the corresponding hibase credential fields

Adapter Features

Feature Supported
Schemas (datasets) ✅
Upsert ❌
Truncate ❌
Drop Columns ❌
Flex Schema ✅ (empty columns allowed)
Foreign Keys ❌
Primary Keys ❌
Table rename ❌
Column add ✅ (batch — all columns in one API call)
Column drop/rename/update ❌

Key Differences from SQL Databases

  • No upsert, truncate, or drop columns — BigQuery's append-only architecture means you primarily use insert as the write strategy
  • Schemas are datasets — each BigQuery dataset maps to a schema in hibase. All datasets in the project are visible under one connection
  • No table rename — BigQuery does not support renaming tables
  • Columns can only be added, not dropped, renamed, or have their type changed. Null constraints can be relaxed but not tightened
  • All datasets must be in the same region — if your project has datasets across multiple regions, hibase will reject the connection

Data Types

string, text, datetime, date, time, float, boolean, integer, decimal, numeric

  • No configurable limit, precision, or scale on any type
  • No json or jsonb type support