createS3Secret creates a DuckDB secret for S3/MinIO access. This is a standalone function so it can be reused by control plane workers. Supports three providers: - "config": explicit credentials (for MinIO or when you have access keys) - "credential_chain": DuckDB's built-in credential chain (does N
(db *sql.DB, dlCfg DuckLakeConfig)
| 1973 | // but without indexes each batch requires a sequential scan. |
| 1974 | // |
| 1975 | // Keep in sync with the catalog-maintenance side of the house: the same index |
| 1976 | // set (under ducklake_*_idx names) is applied to shared/standalone catalogs by |
| 1977 | // the DuckLake maintenance tooling (PostHog/millpond, tools/ducklake_maintenance.py |
| 1978 | // CATALOG_INDEXES). The two never overlap here because workers attach per-tenant |
| 1979 | // catalogs, not the shared one. |
| 1980 | var duckLakeMetadataIndexes = []duckLakeMetadataIndex{ |
no test coverage detected