Issue on docs [Create database and test table]
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- sql
- Domain
- databases, documentation
Research direction
Open docs/4.x/gettingStarted/quick-start and find the database and test-table example. Update the CREATE TABLE example to include the replication_num property set to 1, then verify that the instructions work when only one backend is available.
Written by the indexing model from the issue text.
Description
Path:/docs/4.x/gettingStarted/quick-start
SQL Error [1105] [HY000]: errCode = 2, detailMessage = replication num should be less than the number of available backends. replication num is 3, available backend num is 1
create database demo;
use demo;
create table mytable
(
k1 TINYINT,
k2 DECIMAL(10, 2) DEFAULT "10.05",
k3 CHAR(10) COMMENT "string column",
k4 INT NOT NULL DEFAULT "1" COMMENT "int column"
)
COMMENT "my first table"
DISTRIBUTED BY HASH(k1) BUCKETS 1;
should be
CREATE TABLE mytable (
k1 TINYINT,
k2 DECIMAL(10, 2) DEFAULT "10.05",
k3 CHAR(10) COMMENT "string column",
k4 INT NOT NULL DEFAULT "1" COMMENT "int column"
)
COMMENT "my first table"
DISTRIBUTED BY HASH(k1) BUCKETS 1
PROPERTIES (
"replication_num" = "1"
);
- Dominant language
- MDX
- Stars
- 134
- Forks
- 466
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 54
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/doris-website
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
apache/doris-website#4157 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
apache/doris-website#4108 ·
-
Issue on docs Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
apache/doris-website#4066 ·
-
3.x文档的集群运维的版本升级链接404 Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
apache/doris-website#4006 · 1 comment ·
-
数据目录内容缺失 Open
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
apache/doris-website#3927 · 2 comments ·
All issues in apache/doris-website
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenLiberty/open-liberty#35839 ·
-
affects-9.0 found-by-ai may-affects-25.10 may-affects-26.3 may-affects-26.9 may-affects-7.5 may-affects-8.1 may-affects-8.5 severity/major sig/execution type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
antlr/grammars-v4#5014 · 1 comment ·
-
comp-query-execution fuzz
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121303 · 3 comments ·