Skip to content

Commit

Permalink
[Hotfix] Materialize intermediate trade data view (#479)
Browse files Browse the repository at this point in the history
This hotfix PR only adds a `materialized` to an intermediate table.

This fix should not be required if the database is configured correctly.
  • Loading branch information
fhenneke authored Jan 3, 2025
1 parent 75fb744 commit 2bbd634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries/orderbook/order_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ price_data as (
on tdp.auction_id = ap_protocol.auction_id and tdp.surplus_token = ap_protocol.token
),

trade_data_processed_with_prices as (
trade_data_processed_with_prices as materialized (
select --noqa: ST06
tdp.auction_id,
tdp.solver,
Expand Down

0 comments on commit 2bbd634

Please sign in to comment.