Re: Code does Not Read in FY 2025 Data - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Code does Not Read in FY 2025 Data
Date
Msg-id 145933da-bfe0-4755-a99d-e7bde94d7416@aklaver.com
Whole thread Raw
In response to Code does Not Read in FY 2025 Data  (Anthony Apollis <anthony.apollis@gmail.com>)
Responses Re: Code does Not Read in FY 2025 Data
List pgsql-general
On 7/16/24 08:28, Anthony Apollis wrote:
> Only data up until 2024 is picked up in Revised table, whic contains 
> 2025 data. THe Maxdate calculation seems to be the problem.

This:

'Only data up until 2024 is picked up in Revised table, whic contains 
2025 data. .."

is consistent with:

MaxDate AS (
     SELECT
         MAX("Date") AS "MaxDate"
     FROM
         FullWeeks
     WHERE
         "Date" < CURRENT_DATE
)

I don't see how you expect to fetch data from the future when you limit 
the data to the past.


-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Anthony Apollis
Date:
Subject: Re: Code does Not Read in FY 2025 Data
Next
From: pradeep t
Date:
Subject: Re: Semantic cache capability for Postgresql db