mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 17:21:58 +00:00
qualify (#319)
* qualify * data value * moving it to flatten event --------- Co-authored-by: forgash_ <jmfxyz@pm.me>
This commit is contained in:
parent
a0e441d668
commit
f9be7412e6
@ -75,6 +75,8 @@ flatten_events AS (
|
||||
LATERAL FLATTEN(
|
||||
input => events
|
||||
) e
|
||||
QUALIFY ROW_NUMBER() OVER (PARTITION BY event_id ORDER BY _inserted_timestamp DESC) = 1
|
||||
|
||||
),
|
||||
attributes AS (
|
||||
SELECT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user