From 48293f8234848cf6363976ef4ba82d3aa63318f6 Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Wed, 3 Dec 2025 11:51:14 +0100 Subject: [PATCH] nit fix --- frontend/src/lib/components/dbOps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/dbOps.ts b/frontend/src/lib/components/dbOps.ts index 61e827bcc7..404d8bbf73 100644 --- a/frontend/src/lib/components/dbOps.ts +++ b/frontend/src/lib/components/dbOps.ts @@ -170,7 +170,7 @@ export async function getDucklakeSchema({ args: {} } }) - let mainSchema = Array.isArray(result) && result.length && (result?.[0]?.['result'] ?? '[]') + let mainSchema = Array.isArray(result) && result.length && (result?.[0]?.['result'] ?? []) // Safety for agent workers (duckdb ffi lib used to return JSON as stringified json) if (typeof mainSchema === 'string') mainSchema = JSON.parse(mainSchema)