diff --git a/airbyte-lib/airbyte_lib/caches/duckdb.py b/airbyte-lib/airbyte_lib/caches/duckdb.py index 3282f80695c4b3..07c7fbdaf12558 100644 --- a/airbyte-lib/airbyte_lib/caches/duckdb.py +++ b/airbyte-lib/airbyte_lib/caches/duckdb.py @@ -4,6 +4,7 @@ from __future__ import annotations +import warnings from pathlib import Path from textwrap import dedent, indent from typing import cast @@ -15,6 +16,14 @@ from airbyte_lib.telemetry import CacheTelemetryInfo +# Suppress warnings from DuckDB about reflection on indices. +# https://github.com/Mause/duckdb_engine/issues/905 +warnings.filterwarnings( + "ignore", + message="duckdb-engine doesn't yet support reflection on indices", +) + + class DuckDBCacheConfig(SQLCacheConfigBase, ParquetWriterConfig): """Configuration for the DuckDB cache.