Expand description
ORDER BY analysis for streaming SQL queries
Extracts ORDER BY metadata from SQL AST, classifies streaming safety, and rejects unsafe patterns (unbounded ORDER BY without LIMIT).
Structs§
- Order
Analysis - Result of analyzing ORDER BY in a SQL query.
- Order
Column - A column referenced in ORDER BY.
Enums§
- Order
Pattern - Classification of ORDER BY pattern for streaming safety.
- Rank
Type - Type of ranking function used in a per-group top-K pattern.
Functions§
- analyze_
order_ by - Analyzes a SQL statement for ORDER BY patterns.
- is_
order_ satisfied - Checks whether a given ordering is satisfied by a source’s declared ordering.