Skip to main content

update-keyword-engine-lists

Update ALLOWED_KEYWORD_ALIASES in ClickHouseSqlUtils.java and ENGINE_TO_TABLE_TYPE in DatabaseMetaDataImpl.java from failing test output. Use when StatementSQLTest.testAllowedKeywordAliasesMatchSystemKeywords or DatabaseMetaDataTest.testAllTableEnginesFromSystemTableEnginesAreMapped fails. Use when this capability is needed.

설치로 이동

소스 정보

저장소
tomevault-io/tomes
최근 소스 활동
2026년 7월 23일 21:48
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
update-keyword-engine-lists
description
Update ALLOWED_KEYWORD_ALIASES in ClickHouseSqlUtils.java and ENGINE_TO_TABLE_TYPE in DatabaseMetaDataImpl.java from failing test output. Use when StatementSQLTest.testAllowedKeywordAliasesMatchSystemKeywords or DatabaseMetaDataTest.testAllTableEnginesFromSystemTableEnginesAreMapped fails. Use when this capability is needed.
metadata
{"author":"ClickHouse"}
# Update keyword and engine lists from test failures ## Files **Keywords:** `jdbc-v2/src/main/java/com/clickhouse/jdbc/internal/parser/javacc/ClickHouseSqlUtils.java` — `initAllowedKeywordAliases()`, append after the last `// Appended` comment block. **Engines:** `jdbc-v2/src/main/java/com/clickhouse/jdbc/metadata/DatabaseMetaDataImpl.java` — `ENGINE_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: ```java // 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: ```java // <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" ``` --- > Source: [ClickHouse/clickhouse-java](https://github.com/ClickHouse/clickhouse-java) — distributed by [TomeVault](https://tomevault.io). <!-- tomevault:4.0:skill_md:2026-06-28 -->
GitHub에서 보기