Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions history/latest/3265.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- **[jdbc-v2]** Added the `RETURNING` and `SHARED` keywords and the `Elasticsearch` table engine from ClickHouse 26.11
(HEAD) to the driver's keyword and engine lists, so the keyword and table-engine checks pass against ClickHouse HEAD.
`DatabaseMetaData#getTables` now reports a table with the `Elasticsearch` engine as `REMOTE TABLE` (it was reported
as `TABLE`), like the other external-storage engines. Both SQL parsers already accept `RETURNING` and `SHARED` as
aliases. (https://github.com/ClickHouse/clickhouse-java/issues/3265)
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ private static Set<String> initAllowedKeywordAliases() {
// Appended 10/05/2026
"LATERAL", "SIMILAR",
// Appended 10/17/2026
"RANGES"
"RANGES",
// Appended 10/29/2026
"RETURNING", "SHARED"
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,9 @@ public ResultSet getProcedureColumns(String catalog, String schemaPattern, Strin
// Obfuscate (appended 10/17/2026)
map.put("Obfuscate", TableType.TABLE.getTypeName());

// Remote engines (appended 10/29/2026)
map.put("Elasticsearch", TableType.REMOTE_TABLE.getTypeName());

// Special
map.put("TimeSeries", TableType.TABLE.getTypeName());
map.put("Null", TableType.TABLE.getTypeName());
Expand Down
Loading