Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: set default type when adding pyiceberg (#5074)

Shahmir Varqha8a65a4a43fa0
diff --git a/frontend/src/components/editor/database/schemas.ts b/frontend/src/components/editor/database/schemas.ts
index 182d507142..9bce6eb52b 100644
--- a/frontend/src/components/editor/database/schemas.ts
+++ b/frontend/src/components/editor/database/schemas.ts
@@ -381,6 +381,9 @@ export const IcebergConnectionSchema = z.object({
),
}),
])
+ .default({
+ type: "REST",
+ })
.describe(FieldOptions.of({ special: "tabs" })),
});