Skip to main content

atlys-schema-design

The Atlys ClickHouse DDL pattern — one base table per spec, a single JSON column named `payload`, typed hints for the discriminator + ORDER BY / PARTITION BY paths + every string/bool skip-indexed path (a set/bloom_filter index over an untyped JSON sub-column fails with Code:36, so skip-indexed paths MUST be typed; numeric paths stay untyped and are indexed via CAST(...) minmax), boolean paths typed as Bool/UInt8, data-skipping indexes on hot non-key filter paths, a ch_insert_time MATERIALIZED watermark, an ORDER BY of up to 5 columns, daily partitioning, and a 90-day TTL, for ClickHouse Cloud (plain MergeTree). Apply on every onboarding to shape the base table. Never emit Replicated/Distributed/storage_policy. Full template in references/production-ddl-template.md.

Jump to install

Source facts

Repository
sidagarwal04/click-a-thon-26-submissions
Last source activity
August 2, 2026 at 06:13
Detected SKILL.md language
English
Stars
4
Forks
64

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.