Skip to main content

Documentation Index

Fetch the complete documentation index at: https://private-7c7dfe99-port-beta-badge-galaxy-extend.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The median* functions are the aliases for the corresponding quantile* functions. They calculate median of a numeric data sample. Functions: Example Input table:
┌─val─┐
│   1 │
│   1 │
│   2 │
│   3 │
└─────┘
Query
SELECT medianDeterministic(val, 1) FROM t;
Response
┌─medianDeterministic(val, 1)─┐
│                         1.5 │
└─────────────────────────────┘