commit: 2024-12-13 14:40:01

This commit is contained in:
Paul Trowbridge 2024-12-13 14:40:01 -05:00
parent 454c6e379a
commit ac0a1e4ea1

View File

@ -56,8 +56,8 @@ lq AS MATERIALIZED (
,i.mpck pltq ,i.mpck pltq
-- ,(pricing->'guidance'->'finalPrice'->>'Price')::numeric guidance -- ,(pricing->'guidance'->'finalPrice'->>'Price')::numeric guidance
-- ,pricing->'guidance'->'finalPrice'->>'Reason' reason -- ,pricing->'guidance'->'finalPrice'->>'Reason' reason
,i.curstdus cstd_usd ,lq.curstdus cstd_usd
,i.futstdus fstd_usd ,lq.futstdus fstd_usd
,CASE ,CASE
WHEN i.glec = '1NU' THEN WHEN i.glec = '1NU' THEN
--if more than 8/24 pallets, use floor --if more than 8/24 pallets, use floor
@ -124,4 +124,4 @@ lq AS MATERIALIZED (
,price_usd numeric ,price_usd numeric
) ON TRUE ) ON TRUE
) )
SELECT * FROM hist --WHERE qid = 108596 SELECT * FROM hist --WHERE qid = 108655