Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing rows #43

Merged
merged 2 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion defog_data/atis/atis.sql
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,9 @@ INSERT INTO public.month (month_number, month_name) VALUES
(7, 'July'),
(8, 'August'),
(9, 'September'),
(10, 'October')
(10, 'October'),
(11, 'November'),
(12, 'December')
;

INSERT INTO public.restriction (restriction_code, advance_purchase, stopovers, saturday_stay_required, minimum_stay, maximum_stay, application, no_discounts) VALUES
Expand Down
2 changes: 2 additions & 0 deletions utils_dialects.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def replace_strftime_month(translated_ddl):
return translated_ddl
translated_ddl = replace_strftime_month(translated_ddl)

# replace CURRENT_DATE with DATE('now')
translated_ddl = translated_ddl.replace("CURRENT_DATE", "DATE('now')")
return translated_ddl


Expand Down
Loading