We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25455dc + 3281c56 commit 035d7a7Copy full SHA for 035d7a7
1 file changed
iceberg-rust/src/catalog/create.rs
@@ -221,7 +221,7 @@ impl CreateViewBuilder<Option<()>> {
221
if version.default_namespace().is_empty() {
222
version.default_namespace = namespace.to_vec()
223
}
224
- if version.default_catalog().is_none() {
+ if version.default_catalog().is_none() && !catalog.name().is_empty() {
225
version.default_catalog = Some(catalog.name().to_string())
226
227
@@ -349,7 +349,7 @@ impl CreateMaterializedViewBuilder {
349
350
351
352
353
354
355
0 commit comments