dr_registry_duckdb()
Define metadata and storage configuration
Usage
dr_registry_duckdb(path)
dr_registry_postgres(
connection_env = "DUCKLAKE_PG_CONNECTION",
lock_timeout = 30
)
dr_storage_local(path)
dr_storage_s3(
bucket,
prefix = "dataloom/",
endpoint,
region = "eu-central-1",
credential_provider = c("config", "credential_chain"),
credential_chain = NULL
)Arguments
- path
- Local path.
- connection_env
- Environment variable containing a PostgreSQL libpq string.
- lock_timeout
- Seconds to wait for another PostgreSQL writer. Writes are coordinated per asset during publication using optional RPostgres. All writers must use this protocol; direct SQL and older clients are not coordinated.
- bucket
- S3 bucket.
- prefix
- Prefix within the bucket.
- endpoint
- S3 endpoint, including https://.
- region
- AWS region.
- credential_provider
- Static environment credentials (
config) or the AWS SDKcredential_chain(profiles, instance roles or web identity). - credential_chain
- Optional ordered AWS providers, separated by semicolons.
Only used with
credential_provider = "credential_chain".
Value
A serializable configuration object containing no credentials.
Examples
dr_registry_duckdb(file.path(tempdir(), "lake.db"))
dr_storage_local(file.path(tempdir(), "data"))
dr_registry_postgres("DUCKLAKE_PG_CONNECTION")Documentation source snapshot · View source at 113c179 ↗
Code examples are documented source examples; they are not executed in this website build.
Code examples are documented source examples; they are not executed in this website build.