From 3b4c27324524cef56f72377e8b027e7e1e089713 Mon Sep 17 00:00:00 2001 From: Pankaj B Date: Mon, 29 Jan 2024 19:31:15 +0530 Subject: [PATCH] fix build issue --- docker-compose.yml | 2 +- nexus/analyzer/src/lib.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7ac7e19bb5..ae6ec7bb90 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -181,4 +181,4 @@ services: volumes: pgdata: - prometheusdata: + prometheusdata: \ No newline at end of file diff --git a/nexus/analyzer/src/lib.rs b/nexus/analyzer/src/lib.rs index 6602782e72..d2856cc381 100644 --- a/nexus/analyzer/src/lib.rs +++ b/nexus/analyzer/src/lib.rs @@ -789,6 +789,9 @@ fn parse_db_options( Some(config) } DbType::Clickhouse => { + let conn_str = opts.get("metadata_db"); + let metadata_db = parse_metadata_db_info(conn_str.copied())?; + let s3_int = opts .get("s3_integration") .map(|s| s.to_string()) @@ -814,6 +817,7 @@ fn parse_db_options( .context("no default database specified")? .to_string(), s3_integration: s3_int, + metadata_db, }; let config = Config::ClickhouseConfig(clickhouse_config); Some(config)