Skip to content

Commit

Permalink
fix ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraXia123 committed Sep 5, 2024
1 parent 33e0ef9 commit 5748bc6
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5748bc6

Please sign in to comment.