Skip to content

Commit

Permalink
fix: Add dummy alias to pull_all_from_table_or_query (#2956)
Browse files Browse the repository at this point in the history
* Add dummy alias to pull_all_from_table_or_query

Signed-off-by: Ivan Krizanic <ikrizanic75@gmail.com>

* Fix lint error

Signed-off-by: Ivan Krizanic <ikrizanic75@gmail.com>
  • Loading branch information
ikrizanic authored Jul 21, 2022
1 parent 23c09c8 commit 5e45228
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 5e45228

Please sign in to comment.