Merge pull request #494 from FlipsideCrypto/quickfix-ez-verified
Some checks failed
docs_update / docs_update (push) Has been cancelled
dbt_run_streamline_transactions_realtime / run_dbt_jobs (push) Has been cancelled
dbt_run_scheduled_non_core / run_dbt_jobs (push) Has been cancelled
dbt_run_scheduled_core / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_blocks_realtime / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_chunks_realtime / run_dbt_jobs (push) Has been cancelled
docs_update / notify-failure (push) Has been cancelled
dbt_run_streamline_transactions_realtime / notify-failure (push) Has been cancelled
dbt_run_scheduled_non_core / notify-failure (push) Has been cancelled
dbt_run_scheduled_core / notify-failure (push) Has been cancelled
dbt_run_streamline_blocks_realtime / notify-failure (push) Has been cancelled
dbt_run_streamline_chunks_realtime / notify-failure (push) Has been cancelled
dbt_run_streamline_non_core_weekly / run_dbt_jobs (push) Has been cancelled
dbt_run_full_observability / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_non_core_weekly / notify-failure (push) Has been cancelled
dbt_run_full_observability / notify-failure (push) Has been cancelled

quickfix/prioritize verified price
This commit is contained in:
Jack Forgash 2025-08-06 16:09:16 -04:00 committed by GitHub
commit 2c516c4a22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ WHERE
qualify(ROW_NUMBER() over (PARTITION BY token_address, HOUR
ORDER BY
HOUR DESC) = 1)
HOUR DESC, TOKEN_IS_VERIFIED DESC) = 1)
),
FINAL AS (
SELECT

View File

@ -155,7 +155,7 @@ AND
qualify(ROW_NUMBER() over (PARTITION BY COALESCE(token_address, symbol), HOUR
ORDER BY
HOUR DESC) = 1)
HOUR DESC, IS_VERIFIED DESC) = 1)
),
prices_native AS (
SELECT
@ -180,7 +180,7 @@ AND
qualify(ROW_NUMBER() over (PARTITION BY COALESCE(token_address, symbol), HOUR
ORDER BY
HOUR DESC) = 1)
HOUR DESC, IS_VERIFIED DESC) = 1)
),
FINAL AS (
SELECT

View File

@ -19,7 +19,7 @@ WITH prices AS (
qualify ROW_NUMBER() over (
PARTITION BY block_timestamp_hour
ORDER BY
HOUR DESC
HOUR DESC, IS_VERIFIED DESC
) = 1
)
SELECT