From 5748bc6e8bcc00cdfdb87eed53532cb963b30184 Mon Sep 17 00:00:00 2001 From: Qian Xia Date: Thu, 5 Sep 2024 11:49:12 +0800 Subject: [PATCH] fix ci test --- .../metalake/rightContent/CreateCatalogDialog.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js b/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js index 36cf28fb7af..17a4e31259f 100644 --- a/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js +++ b/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js @@ -289,14 +289,17 @@ const CreateCatalogDialog = props => { 'catalog-backend': catalogBackend, ...others } - uri && (properties.uri = uri) - } else if (!authType || authType === 'simple') { + uri && (properties['uri'] = uri) + } else if ( + !authType || + (authType === 'simple' && ['lakehouse-iceberg', 'lakehouse-paimon'].includes(providerSelect)) + ) { properties = { 'catalog-backend': catalogBackend, ...others } - uri && (properties.uri = uri) - authType && (properties.authType = authType) + uri && (properties['uri'] = uri) + authType && (properties['authType'] = authType) } else { properties = prevProperties }