From 6e9f7c9d2f3746ebccc1f9dca5bc760dd0bd3dd6 Mon Sep 17 00:00:00 2001 From: Ping Xiao Date: Tue, 2 Aug 2022 18:05:25 +0800 Subject: [PATCH] fix a typo and md format issue --- docs/en/14-reference/13-schemaless/13-schemaless.md | 3 ++- docs/zh/14-reference/13-schemaless/13-schemaless.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en/14-reference/13-schemaless/13-schemaless.md b/docs/en/14-reference/13-schemaless/13-schemaless.md index 0b3da06835..9c4f226804 100644 --- a/docs/en/14-reference/13-schemaless/13-schemaless.md +++ b/docs/en/14-reference/13-schemaless/13-schemaless.md @@ -68,8 +68,9 @@ Note that tag_key1, tag_key2 are not the original order of the tags entered by t The string's MD5 hash value "md5_val" is calculated after the ranking is completed. The calculation result is then combined with the string to generate the table name: "t_md5_val". "t*" is a fixed prefix that every table generated by this mapping relationship has. >Example for how subtable name is generated: +> > - Format super table name, tag name and tag value to a new string: "`measurement`,`tag_key1`=3i64,`tag_key2`=3i64" -> - Encrypt above string with MD5 to folling string: "68e766edd3747cdeec5a96caeaed7721" +> - Encrypt above string with MD5 to following string: "68e766edd3747cdeec5a96caeaed7721" > - Split encrypted string from the middle into two new strings and reverse both strings: "de7c74d3ed66e768","2177edeaca965aec" > - Combine above strings with prefix t_ and get a new string which is the subtable name: "t_de7c74d3ed66e7682177edeaca965aec" diff --git a/docs/zh/14-reference/13-schemaless/13-schemaless.md b/docs/zh/14-reference/13-schemaless/13-schemaless.md index 4582ae5b1a..068c00afe4 100644 --- a/docs/zh/14-reference/13-schemaless/13-schemaless.md +++ b/docs/zh/14-reference/13-schemaless/13-schemaless.md @@ -72,6 +72,7 @@ st,t1=3,t2=4,t3=t3 c1=3i64,c3="passit",c2=false,c4=4f64 1626006833639000000 排列完成以后计算该字符串的 MD5 散列值 "md5_val"。然后将计算的结果与字符串组合生成表名:“t_md5_val”。其中的 “t\*” 是固定的前缀,每个通过该映射关系自动生成的表都具有该前缀。 >子表名生成规则示例: +> > - 格式化超级表名,标签名以及标签值组成字符串:"`measurement`,`tag_key1`=3i64,`tag_key2`=3i64" > - 对上面的字符串进行 md5 加密,加密后的字符串为: "68e766edd3747cdeec5a96caeaed7721" > - 将加密的字符串冲中间分成两部分,然后分别倒置:"de7c74d3ed66e768","2177edeaca965aec" -- GitLab