- Overview
- Data types
- Commands
- Functions
- Overview
- Aggregate
- Conditional expression
- Conversion
- Date and time
- Numeric
- String
- Semi-structured data
- Window
- System
On this page
schema
Infers a summary of observed object keys and value types.
Syntax
schema( <object_expr> )
Returns
Returns an array describing observed object keys and value types.
Examples
VALUES ({"host": 'api-1', "status": 200}), ({"host": 'api-2', "ok": true})
AGGREGATE schema($0);