greptimedb-flow

Create and manage GreptimeDB flows for time-windowed aggregation and materialized views.

51|52|Updated Oct 24, 2022
One-click install
npx skills add https://github.com/GreptimeTeam/docs --skill greptimedb-flow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: greptimedb-flow
Source: https://github.com/GreptimeTeam/docs/tree/main/skills/greptimedb-flow
Command: npx skills add https://github.com/GreptimeTeam/docs --skill greptimedb-flow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps data teams rapidly define, deploy, and validate GreptimeDB flows that perform time-windowed aggregations and maintain materialized views, enabling near real-time analytics.

Core Features & Use Cases

  • Create and manage GreptimeDB flow tasks with user-defined time windows and aggregation rules.
  • Automatically generate sink table DDL and FLOW statements to support continuous aggregation in streaming workloads.
  • Reference common validation scenarios and provide guidance for development, testing, and production deployment.

Quick Start

Use the greptimedb-flow skill to define a new flow with a time window, a source table, and a sink table, then run the generated DDL to establish the flow and verify results.

Frequently Asked Questions about greptimedb-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create continuous aggregation flows in GreptimeDB for time-windowed data?

To create continuous aggregation flows in GreptimeDB, you define time windows and aggregation rules, then use generated sink table DDL and FLOW statements to automatically maintain materialized views for streaming workloads.

What are GreptimeDB flow tasks used for in streaming data pipelines?

GreptimeDB flow tasks are used in streaming data pipelines to perform on-the-fly time-windowed aggregation and maintain materialized views, enabling near real-time analytics for data teams.

How do I generate DDL for sink tables and flows in GreptimeDB?

You can generate DDL for sink tables and flows by specifying a source table, a sink table, and your desired time window, which produces the necessary statements to establish continuous aggregation workflows.

Can I validate GreptimeDB continuous aggregation results in a development environment?

Yes, you can validate GreptimeDB continuous aggregation results in development, testing, and production environments by running generated DDL and referencing common validation scenarios using a local server if available.

Do I need a local server to test GreptimeDB flow tasks?

A local server is not strictly required but is recommended for verification, as it provides guidance on validating flow expressions and checking sink table results during development and testing.

What are the limitations of using GreptimeDB flows for materialized views?

GreptimeDB flows for materialized views require predefined time windows and aggregation rules, meaning they are designed for structured streaming workloads and may need separate validation steps across different deployment environments.