Maintained dataflows can't have a finishing applied directly. Therefore, the finishing is turned into a `TopK`.
(&self)
| 6522 | /// Maintained dataflows can't have a finishing applied directly. Therefore, the finishing is |
| 6523 | /// turned into a `TopK`. |
| 6524 | pub fn is_maintained(&self) -> bool { |
| 6525 | match self { |
| 6526 | QueryLifetime::OneShot => false, |
| 6527 | QueryLifetime::Index => true, |
| 6528 | QueryLifetime::MaterializedView => true, |
| 6529 | QueryLifetime::Subscribe => true, |
| 6530 | QueryLifetime::View => true, |
| 6531 | QueryLifetime::Source => true, |
| 6532 | } |
| 6533 | } |
| 6534 | |
| 6535 | /// Most maintained dataflows don't allow SHOW commands currently. However, SUBSCRIBE does. |
| 6536 | pub fn allow_show(&self) -> bool { |