Build the ATTACH SQL for a DuckLake
Usage
build_attach_sql(
ducklake_name,
lake_path,
backend,
catalog_connection_string,
read_only,
override_data_path = FALSE
)
Arguments
- ducklake_name
Name for the ducklake alias
- lake_path
Path for data files
- backend
Catalog backend type
- catalog_connection_string
Backend-specific connection string
- read_only
Whether to attach in read-only mode
- override_data_path
Whether to add OVERRIDE_DATA_PATH TRUE
Value
A SQL ATTACH statement string