From e67bc813f23c38cf1c81efc37a69e1c2c90593c2 Mon Sep 17 00:00:00 2001 From: Chakru <161002324+chakru-r@users.noreply.github.com> Date: Thu, 27 Feb 2025 11:03:33 +0530 Subject: [PATCH] fix(iceberg-cli): add missing filter for iceberg dataplatform --- metadata-ingestion/src/datahub/cli/iceberg_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata-ingestion/src/datahub/cli/iceberg_cli.py b/metadata-ingestion/src/datahub/cli/iceberg_cli.py index f26edf444b781..6ca5d63f1012e 100644 --- a/metadata-ingestion/src/datahub/cli/iceberg_cli.py +++ b/metadata-ingestion/src/datahub/cli/iceberg_cli.py @@ -645,7 +645,7 @@ def get_all_warehouses(client: DataHubGraph) -> Iterator[str]: graph_query = """ query getIcebergWarehouses($start: Int, $count: Int) { search( - input: {type: DATA_PLATFORM_INSTANCE, query: "*", start: $start, count: $count} + input: {type: DATA_PLATFORM_INSTANCE, query: "dataPlatform:iceberg", start: $start, count: $count} ) { start total