diff --git a/frontend/src/lib/components/EditorBar.svelte b/frontend/src/lib/components/EditorBar.svelte index 197c8c2282..54526592e4 100644 --- a/frontend/src/lib/components/EditorBar.svelte +++ b/frontend/src/lib/components/EditorBar.svelte @@ -741,7 +741,7 @@ JsonNode ${windmillPathToCamelCaseName(path)} = JsonNode.Parse(await client.GetS } }} tooltip="Attach a Ducklake to your scripts. Ducklake allows you to manipulate large data on S3 blob files through a traditional SQL interface." - documentationLink="https://www.windmill.dev/docs/core_concepts/ducklake" + documentationLink="https://www.windmill.dev/docs/core_concepts/persistent_storage/ducklake" itemName="ducklake" loadItems={async () => (await WorkspaceService.listDucklakes({ workspace: $workspaceStore ?? 'NO_W' })).map( @@ -836,7 +836,7 @@ JsonNode ${windmillPathToCamelCaseName(path)} = JsonNode.Parse(await client.GetS onSelectAndClose={(s3obj) => { let s = `'${formatS3Object(s3obj)}'` if (lang === 'duckdb') { - editor?.insertAtCursor(`SELECT * FROM ${s}`) + editor?.insertAtCursor(`SELECT * FROM ${s};`) } else if (lang === 'python3') { if (!editor?.getCode().includes('import wmill')) { editor?.insertAtBeginning('import wmill\n') diff --git a/frontend/src/lib/components/assets/AssetsDropdownButton.svelte b/frontend/src/lib/components/assets/AssetsDropdownButton.svelte index e480a86ed1..e198f7574a 100644 --- a/frontend/src/lib/components/assets/AssetsDropdownButton.svelte +++ b/frontend/src/lib/components/assets/AssetsDropdownButton.svelte @@ -146,9 +146,7 @@
@@ -162,7 +160,11 @@ Please select manually
- + {#snippet children({ item })} diff --git a/frontend/src/lib/components/assets/lib.ts b/frontend/src/lib/components/assets/lib.ts index cb7b824a64..5296308c9d 100644 --- a/frontend/src/lib/components/assets/lib.ts +++ b/frontend/src/lib/components/assets/lib.ts @@ -93,8 +93,8 @@ export function formatAssetAccessType(accessType: AssetUsageAccessType | undefin } export function getAccessType(asset: AssetWithAltAccessType): AssetUsageAccessType | undefined { - if (asset.alt_access_type) return asset.alt_access_type if (asset.access_type) return asset.access_type + if (asset.alt_access_type) return asset.alt_access_type } export function getFlowModuleAssets( diff --git a/frontend/src/lib/components/workspaceSettings/DucklakeSettings.svelte b/frontend/src/lib/components/workspaceSettings/DucklakeSettings.svelte index 88bdaa877b..093c78c9f6 100644 --- a/frontend/src/lib/components/workspaceSettings/DucklakeSettings.svelte +++ b/frontend/src/lib/components/workspaceSettings/DucklakeSettings.svelte @@ -183,7 +183,7 @@
Ducklake
- + Windmill has first class support for Ducklake. You can use and explore ducklakes like a normal SQL database, even though the data is actually stored in parquet files in S3 ! diff --git a/frontend/src/lib/script_helpers.ts b/frontend/src/lib/script_helpers.ts index 58bec208de..f8fc95c8f3 100644 --- a/frontend/src/lib/script_helpers.ts +++ b/frontend/src/lib/script_helpers.ts @@ -323,7 +323,7 @@ const DUCKDB_INIT_CODE = `-- result_collection=last_statement_all_rows -- SELECT * FROM db.public.friends; -- Click the +Ducklake button to use a ducklake --- https://www.windmill.dev/docs/core_concepts/ducklake +-- https://www.windmill.dev/docs/core_concepts/persistent_storage/ducklake -- -- ATTACH 'ducklake' AS dl; -- USE dl;