remove_blink

The remove_blink method removes the blink table attribute from a table, disabling specialized blink table aggregation semantics. It returns the source table itself if it is already not a blink table.

Note

remove_blink only removes the blink attributerows will still disappear each update cycle. If you want rows to persist, use blink_to_append_only instead.

What it does:

  • Disables specialized aggregation semantics for blink tables. By default, aggregations like sum_by on blink tables accumulate results over the entire history of observed rows. After calling remove_blink, aggregations only operate on rows present in the current update cycle.

What it does NOT do:

  • It does not make rows persist. The resulting table still exhibits the "blink" update pattern — all rows from the previous cycle are removed, and only new rows appear each cycle.
  • It does not convert the table to an append-only or standard streaming table.

Syntax

Parameters

This method takes no arguments.

Returns

A table without the blink attribute. The table still removes all rows each update cycle.

Example

The following example demonstrates the difference in aggregation behavior. With the blink attribute, sum_by accumulates over all rows ever seen. After remove_blink, sum_by only sums rows in the current cycle.

t_blink

In this example:

  • t_blink_sum grows continuously as it aggregates over all historical data.
  • t_no_blink_sum only reflects the sum of rows present in the current update cycle (which is just one row per group per cycle in this case).