Compare commits
1 Commits
main
...
wip/51681-
Author | SHA1 | Date |
---|---|---|
Frédéric Péters | 5619267c55 |
|
@ -380,6 +380,7 @@ class WcsOlapFeeder(object):
|
|||
|
||||
def do_dates_table(self):
|
||||
self.ex('CREATE TABLE IF NOT EXISTS public.dates (date date, day text, month text)')
|
||||
self.ex('CREATE INDEX IF NOT EXISTS dates_index ON public.dates (date)')
|
||||
self.ex('SELECT MIN(date) FROM public.dates')
|
||||
max_date = self.cur.fetchone()[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue