update-keyword-engine-lists

โดย clickhouse

อัปเดต ALLOWED_KEYWORD_ALIASES ใน ClickHouseSqlUtils.java และ ENGINE_TO_TABLE_TYPE ใน DatabaseMetaDataImpl.java จากผลลัพธ์การทดสอบที่ล้มเหลว ใช้เมื่อ…

npx skills add https://github.com/clickhouse/clickhouse-java --skill update-keyword-engine-lists

Update keyword and engine lists from test failures

Files

Keywords: jdbc-v2/src/main/java/com/clickhouse/jdbc/internal/parser/javacc/ClickHouseSqlUtils.javainitAllowedKeywordAliases(), append after the last // Appended comment block.

Engines: jdbc-v2/src/main/java/com/clickhouse/jdbc/metadata/DatabaseMetaDataImpl.javaENGINE_TO_TABLE_TYPE static block, insert a new group before // Special.

Steps

  1. Parse the failing test message to extract the list of missing items.

  2. For keywords (StatementSQLTest failure — e.g. ["CURSOR", "DETERMINISTIC", ...]): Append a new dated comment + entries at the end of buildKeywordSet(...), after the last existing // Appended block:

    // Appended MM/DD/YYYY
    "KEYWORD1", "KEYWORD2", ...
    

    The previous entry must have a trailing comma. Keep alphabetical order within the new block.

  3. For engines (DatabaseMetaDataTest failure — e.g. [Paimon, PaimonAzure, ...]): Add a new named group before // Special in the static block:

    // <GroupName> (appended MM/DD/YYYY)
    map.put("Engine1", TableType.REMOTE_TABLE.getTypeName());
    

    Choose TableType by analogy:

    • External storage (S3/Azure/HDFS variants, lake formats) → REMOTE_TABLE
    • MergeTree family or local engines → TABLE

Output

After editing, output this git commit command:

git commit -m "jdbc-v2: update <keywords|engines|keywords and engines> in JDBC"

Skills เพิ่มเติมจาก clickhouse

clickhouse-best-practices
clickhouse
กฎแนวปฏิบัติที่ดีที่สุดของ ClickHouse จำนวน 28 ข้อ จัดตามการออกแบบสคีมา การปรับแต่งคิวรี และกลยุทธ์การนำเข้าข้อมูล ครอบคลุมสามด้านสำคัญ: การเลือกคีย์หลักและชนิดข้อมูล (การตัดสินใจออกแบบที่ไม่สามารถเปลี่ยนแปลงได้), การปรับแต่ง JOIN และคิวรี, และการทำแบทช์อินเสิร์ตพร้อมหลีกเลี่ยงมิวเทชัน รวมถึงกฎ 28 ข้อที่จัดลำดับตามผลกระทบ โดยกฎการออกแบบสคีมาและการปรับแต่งคิวรีถูกทำเครื่องหมายว่าสำคัญมาก (CRITICAL) เนื่องจากกลไกการจัดเก็บแบบคอลัมน์และดัชนีแบบกระจัดกระจายของ ClickHouse มีขั้นตอนการตรวจสอบที่มีโครงสร้างสำหรับ...
official
clickhouse-js-node-coding
clickhouse
Write idiomatic application code with the ClickHouse Node.js client (`@clickhouse/client`). Use this skill whenever a user is *building* against the Node.js…
official
clickhousectl-cloud-deploy
clickhouse
ใช้เมื่อผู้ใช้ต้องการปรับใช้ ClickHouse ไปยังคลาวด์ ไปสู่ระบบผลิต ใช้ ClickHouse Cloud โฮสต์บริการ ClickHouse ที่มีการจัดการ หรือย้ายจากระบบภายในเครื่อง…
official
clickstack-otel-collector
clickhouse
ใช้เมื่อผู้ใช้ต้องการเชื่อมต่อ OpenTelemetry collector เข้ากับบริการ Managed ClickStack บน ClickHouse Cloud ไม่ว่าจะโดยการติดตั้ง collector ในเครื่องใหม่…
official
infra-clickhouse
clickhouse
Sets up and manages ClickHouse using the clickhousectl CLI — installs and runs a local ClickHouse server for development, and creates managed ClickHouse Cloud…
official
infra-postgres
clickhouse
ตั้งค่าและจัดการ Postgres โดยใช้ clickhousectl CLI — รัน Postgres ที่ใช้ Docker ในเครื่องสำหรับการพัฒนา และสร้างและดำเนินการจัดการ ClickHouse ที่มีการจัดการ...
official
clickhouse-best-practices
clickhouse
ต้องใช้เมื่อตรวจสอบสคีมา คิวรี หรือการกำหนดค่าของ ClickHouse ประกอบด้วยกฎ 31 ข้อที่ต้องตรวจสอบก่อนให้คำแนะนำ ควรอ่านเสมอ…
official
setup
clickhouse
แนะนำผู้ใช้ในการตั้งค่าการเชื่อมต่อเซิร์ฟเวอร์ ClickHouse MCP ที่มาพร้อมกับปลั๊กอินนี้ ใช้เมื่อผู้ใช้ติดตั้งปลั๊กอินครั้งแรกหรือพบปัญหา…
official