Skip to content

Commit

Permalink
Added Fix for bam datahub
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny77D committed Nov 15, 2024
1 parent 1e25d6d commit 22b60e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/data_hubs/fact_daily_bam_datahub.sql
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ select
coalesce(
cast(app_symbol as string),
cast(bam.app as string),
cast(category_symbol as string),
cast(lower(replace(bam.category, ' ', '_')) as string),
''
),
'-',
coalesce(cast(chain_symbol as string), cast(chain as string))
coalesce(chain_symbol, chain, 'all')
) as excel_symbol
from bam_data as bam
left join app_coingecko on bam.app = app_coingecko.app
Expand Down

0 comments on commit 22b60e2

Please sign in to comment.