Skip to content

Commit

Permalink
Add dummy alias to pull_all_from_table_or_query
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Krizanic <ikrizanic75@gmail.com>
  • Loading branch information
ikrizanic committed Jul 20, 2022
1 parent d0d27a3 commit 245bd03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def pull_all_from_table_or_query(

query = f"""
SELECT {field_string}
FROM {from_expression}
FROM {from_expression} AS paftoq_alias
WHERE "{timestamp_field}" BETWEEN '{start_date}'::timestamptz AND '{end_date}'::timestamptz
"""

Expand Down

0 comments on commit 245bd03

Please sign in to comment.