Skip to content
Merged
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
3 changes: 2 additions & 1 deletion bigframes/streaming/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ def _appends_sql(self):
original_table = self._original_table
assert original_table is not None

appends_clause = f"APPENDS(TABLE `{original_table}`, NULL, NULL)"
# TODO(b/405691193): set start time back to NULL. Now set it slightly after 7 days max interval to avoid the bug.
appends_clause = f"APPENDS(TABLE `{original_table}`, CURRENT_TIMESTAMP() - (INTERVAL 7 DAY - INTERVAL 5 MINUTE))"
sql_str = sql_str.replace(f"`{original_table}`", appends_clause)
return sql_str

Expand Down