From 44260449d1e08151f216aa5be74f80d1829a9337 Mon Sep 17 00:00:00 2001 From: Lloyd Tabb Date: Wed, 8 Jan 2025 10:15:09 -0800 Subject: [PATCH] Need to also change the way arrays are unnested. --- packages/malloy/src/dialect/snowflake/snowflake.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/malloy/src/dialect/snowflake/snowflake.ts b/packages/malloy/src/dialect/snowflake/snowflake.ts index 2862483e5..0bf5dde15 100644 --- a/packages/malloy/src/dialect/snowflake/snowflake.ts +++ b/packages/malloy/src/dialect/snowflake/snowflake.ts @@ -267,7 +267,7 @@ export class SnowflakeDialect extends Dialect { parentType === 'array[scalar]' || parentType === 'array[record]' ) { - const arrayRef = `"${parentAlias}".value:${sqlName}`; + const arrayRef = `"${parentAlias}".value`; switch (childType) { case 'record': case 'array':