Skip to content

Commit

Permalink
Add note about lake loader workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
rlh1994 committed Jun 25, 2024
1 parent 3ba8b29 commit a3f6b57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/base/scratch/snowplow_unified_base_events_this_run.sql
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ with base_query as (
{{ base_events_query }}
)

{# NOTE: This lakeloader workaround should be removed when Snowflake support structured types in regular tables https://docs.snowflake.com/en/sql-reference/data-types-structured #}

{% if var('snowplow__snowflake_lakeloader', False) -%}
{% set base_query_cols = get_column_schema_from_query( 'select * from (' + base_events_query +') a') %}
{%- endif -%}
Expand Down

0 comments on commit a3f6b57

Please sign in to comment.