提交 6e9f7c9d 编写于 作者: P Ping Xiao

fix a typo and md format issue

上级 b76d030f
...@@ -68,8 +68,9 @@ Note that tag_key1, tag_key2 are not the original order of the tags entered by t ...@@ -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. 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: >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" > - 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" > - 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" > - Combine above strings with prefix t_ and get a new string which is the subtable name: "t_de7c74d3ed66e7682177edeaca965aec"
......
...@@ -72,6 +72,7 @@ st,t1=3,t2=4,t3=t3 c1=3i64,c3="passit",c2=false,c4=4f64 1626006833639000000 ...@@ -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\*” 是固定的前缀,每个通过该映射关系自动生成的表都具有该前缀。 排列完成以后计算该字符串的 MD5 散列值 "md5_val"。然后将计算的结果与字符串组合生成表名:“t_md5_val”。其中的 “t\*” 是固定的前缀,每个通过该映射关系自动生成的表都具有该前缀。
>子表名生成规则示例: >子表名生成规则示例:
>
> - 格式化超级表名,标签名以及标签值组成字符串:"`measurement`,`tag_key1`=3i64,`tag_key2`=3i64" > - 格式化超级表名,标签名以及标签值组成字符串:"`measurement`,`tag_key1`=3i64,`tag_key2`=3i64"
> - 对上面的字符串进行 md5 加密,加密后的字符串为: "68e766edd3747cdeec5a96caeaed7721" > - 对上面的字符串进行 md5 加密,加密后的字符串为: "68e766edd3747cdeec5a96caeaed7721"
> - 将加密的字符串冲中间分成两部分,然后分别倒置:"de7c74d3ed66e768","2177edeaca965aec" > - 将加密的字符串冲中间分成两部分,然后分别倒置:"de7c74d3ed66e768","2177edeaca965aec"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册