mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 11:26:52 +00:00
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
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:
commit
2c516c4a22
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user