We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c93e720 commit 6ab4ffdCopy full SHA for 6ab4ffd
bigframes/streaming/dataframe.py
@@ -286,7 +286,8 @@ def _appends_sql(self):
286
original_table = self._original_table
287
assert original_table is not None
288
289
- 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.
290
+ appends_clause = f"APPENDS(TABLE `{original_table}`, CURRENT_TIMESTAMP() - (INTERVAL 7 DAY - INTERVAL 5 MINUTE))"
291
sql_str = sql_str.replace(f"`{original_table}`", appends_clause)
292
return sql_str
293
0 commit comments