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.

跳到安装

来源信息

仓库
sidagarwal04/click-a-thon-26-submissions
最近来源活动
2026年8月2日 06:13
检测到的 SKILL.md 语言
英语
星标
4
分支
64

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。