Skip to content

Commit

Permalink
Redshift Fix for segment_web_page_views (#17)
Browse files Browse the repository at this point in the history
* cast as text

* correct select
  • Loading branch information
lindseywatts authored Jan 25, 2024
1 parent fbda6cd commit 211b728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/base/segment_web_page_views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The if statement below checks to see if segment_page_views_table is a string or
{% if var('segment_page_views_table') is string %}

unioned_sources AS (
select 'segment_page_views_table' as source_name, * from {{var('segment_page_views_table')}}
select cast('segment_page_views_table' as text) as source_name, * from {{var('segment_page_views_table')}}
),


Expand Down

0 comments on commit 211b728

Please sign in to comment.