-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help document collation (integration of help and documentation documents) #1586
Conversation
my first pull request
@@ -0,0 +1,11 @@ | |||
# DESCRIBE | |||
## description | |||
该语�~O��~T��~N�~U示�~L~G�~Z table �~Z~D schema 信�~A� |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOT UTF8
docs/script/split.sh
Outdated
|
||
scandir() { | ||
for file in `ls $*`; do | ||
if [[ ! -d $*"/"$file ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use space instead of space.
docs/script/merge.sh
Outdated
local tempfile=${ROOTDIR}"/temp" | ||
cp $* $tempfile | ||
|
||
local row=0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tab
@@ -648,12 +647,8 @@ | |||
|
|||
4. 展示指定 db 的导入任务,指定 label 为 "load_example_db_20140102" ,state 为 "loading", 并按 LoadStartTime 降序排序 | |||
SHOW LOAD FROM example_db WHERE LABEL = "load_example_db_20140102" AND STATE = "loading" ORDER BY LoadStartTime DESC; | |||
|
|||
5. 展示指定 db 的导入任务 并按 LoadStartTime 降序排序,并从偏移量5开始显示10条查询结果 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should rebase master, or you will lose some documents information
docs/script/keyword.sh
Outdated
@@ -0,0 +1,68 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you rewrite it with python?
It's a little hard for us to maintain a complex shell script.
@@ -1110,44 +1110,3 @@ | |||
## keyword | |||
|
|||
COLOCATE, JOIN, CREATE TABLE | |||
|
|||
# CREATE FUNCTION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you delete it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because there already two md file with duplicate topics named "create-function" and "drop-function" exists. The two files originally belonged to documentation folder.
|
||
## Syntax | ||
## description | ||
## description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -54,3 +53,5 @@ mysql> select cast(cast ("11.2" as double) as bigint); | |||
+----------------------------------------+ | |||
1 row in set (0.00 sec) | |||
``` | |||
##keyword |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there may be some error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
Co-Authored-By: ZHAO Chun <buaa.zhaoc@gmail.com>
…e#1586) * [Bug][Fix] regexp function core dump DCHECK failed and error result (apache#17953) CREATE TABLE `test` ( `name` varchar(64) NULL, `age` int(11) NULL ) ENGINE=OLAP DUPLICATE KEY(`name`) COMMENT 'OLAP' DISTRIBUTED BY HASH(`name`) BUCKETS 1 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "in_memory" = "false", "storage_format" = "V2", "disable_auto_compaction" = "false" ); insert into `test` values ("lemon",1),("tom",2); select a.name regexp concat('^', a.name) from test a; * [fix](like) fix wrong result of like pattern with backslash (apache#18351) --------- Co-authored-by: HappenLee <happenlee@hotmail.com> Co-authored-by: TengJianPing <18241664+jacktengg@users.noreply.github.com>
…e#1586) * [Bug][Fix] regexp function core dump DCHECK failed and error result (apache#17953) CREATE TABLE `test` ( `name` varchar(64) NULL, `age` int(11) NULL ) ENGINE=OLAP DUPLICATE KEY(`name`) COMMENT 'OLAP' DISTRIBUTED BY HASH(`name`) BUCKETS 1 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "in_memory" = "false", "storage_format" = "V2", "disable_auto_compaction" = "false" ); insert into `test` values ("lemon",1),("tom",2); select a.name regexp concat('^', a.name) from test a; * [fix](like) fix wrong result of like pattern with backslash (apache#18351) --------- Co-authored-by: HappenLee <happenlee@hotmail.com> Co-authored-by: TengJianPing <18241664+jacktengg@users.noreply.github.com>
Integrate help and documentation folder