dlt.destinations.impl.bigquery.factory
bigquery Objects
class bigquery(Destination[BigQueryClientConfiguration, "BigQueryClient"])
create_ibis_backend
def create_ibis_backend(
client: "BigQueryClient",
read_only: bool = False,
schemas: "Sequence[Schema]" = ()) -> "BaseBackend"
Create an ibis bigquery backend for the client's dataset.
__init__
def __init__(credentials: GcpServiceAccountCredentials = None,
location: str = None,
has_case_sensitive_identifiers: bool = None,
enable_atomic_replace: bool = None,
destination_name: str = None,
environment: str = None,
**kwargs: Any) -> None
Configure the BigQuery destination to use in a pipeline.
All arguments provided here supersede other configuration sources such as environment variables and dlt config files.
Arguments:
credentialsGcpServiceAccountCredentials, optional - Credentials to connect to the BigQuery database. Can be an instance ofGcpServiceAccountCredentialsor a dict or string with service accounts credentials as used in the Google Cloudlocationstr, optional - A location where the datasets will be created, eg. "EU". The default is "US"has_case_sensitive_identifiersbool, optional - Is the dataset case-sensitive, defaults to Trueenable_atomic_replacebool, optional - Replacetruncate-and-inserttables with a single metadata-preserving WRITE_TRUNCATE_DATA load job. Requires a GCS staging destination.destination_namestr, optional - Name of the destination, can be used in config section to differentiate between multiple of the same typeenvironmentstr, optional - Environment of the destination**kwargsAny - Additional arguments passed to the destination config