You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "boluor (via GitHub)" <gi...@apache.org> on 2026/05/29 15:53:33 UTC
[PR] [fix](doc) v3.x: fix misplaced backtick in point-query CREATE TABLE [doris-website]
boluor opened a new pull request, #3853:
URL: https://github.com/apache/doris-website/pull/3853
## Problem
In `versioned_docs/version-3.x/query-acceleration/high-concurrent-point-query.md`, the `DISTRIBUTED BY` clause of the example table has a misplaced backtick — `HASH(`k1)`` instead of `HASH(`k1`)`. The malformed column reference makes the parser reject the whole `CREATE TABLE`:
```
errCode = 2, detailMessage =
missing ')' at 'BUCKETS'(line 13, pos 26)
```
The ZH version of this page already has the correct `HASH(`k1`)`, so only the EN page changes.
## Fix
`DISTRIBUTED BY HASH(`k1)` BUCKETS 1` → `DISTRIBUTED BY HASH(`k1`) BUCKETS 1`
## Cluster verification (Doris 3.1.4-rc02, fresh single-node cluster)
The corrected statement creates the table successfully:
```
CREATE TABLE `tbl_point_query` ( ... )
ENGINE=OLAP UNIQUE KEY(`k1`) COMMENT 'OLAP'
DISTRIBUTED BY HASH(`k1`) BUCKETS 1
PROPERTIES ( "replication_allocation" = "tag.location.default: 1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"store_row_column" = "true" );
-- Query OK; SHOW TABLES LIKE 'tbl_point_query' returns the table.
```
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](doc) v3.x: fix misplaced backtick in point-query CREATE TABLE [doris-website]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #3853:
URL: https://github.com/apache/doris-website/pull/3853
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org