Special Statements
This page covers KQL syntax elements that don't fit neatly into a single function category — including inline data tables, duration literals, dynamic values, verbatim strings, pipe composition, and a few preprocessing transformations the compiler applies automatically before parsing.
Legend: ✅ Supported · ⚠️ Approximated · ❌ Not Supported · 🔄 Rewritten
| Feature | SQLite | MySQL | ClickHouse | PostgreSQL | Notes |
|---|---|---|---|---|---|
datatable | ✅ | ✅ | ✅ | ✅ | CREATE TEMP TABLE + INSERT INTO |
Bare duration literals (e.g. 1d) | ⚠️ | ✅ | ✅ | ✅ | SQLite: warning emitted; no INTERVAL type |
dynamic({}) / dynamic([]) | ✅ | ✅ | ✅ | ✅ | Rendered as JSON string constant |
Verbatim strings @"..." | ✅ | ✅ | ✅ | ✅ | Unescaped string literals |
Pipe chaining (|) | ✅ | ✅ | ✅ | ✅ | Each pipe stage wraps as subquery when needed |
datetime(bare-date) preprocessing | ✅ | ✅ | ✅ | ✅ | Auto-quoted before parsing |
between(datetime() .. datetime()) preprocessing | ✅ | ✅ | ✅ | ✅ | Rewritten to >= / <= before parsing |