Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jingshi-ant committed Jul 28, 2023
1 parent 2ac6e29 commit 485f7ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/development/scql_config_manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Config for SecurityCompromise
SCDB provides some security compromise options, which can be selectively enabled when the security risk is acceptable to speed up the overall operation.

1. reveal_group_mark:
default disable, if enabled, SCDB will directly reveal group mark when calculating group by, thereby avoiding the overhead caused by pre-shuffle. ``risk``: group size may be leaked, which is equivalent to the result of count(*)
default disable, if enabled, SCDB will expose grouping information(size of each group) when calculating group-by-aggregation, thereby avoiding the overhead caused by pre-shuffle. ``risk``: group size will be leaked, which is equivalent to the result of count(*)

A typical config of security_compromise can be like:

Expand Down
14 changes: 7 additions & 7 deletions docs/locales/zh_CN/LC_MESSAGES/development/scql_config_manual.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-28 14:19+0800\n"
"POT-Creation-Date: 2023-07-28 15:34+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_CN\n"
Expand Down Expand Up @@ -373,13 +373,13 @@ msgstr "reveal_group_mark:"

#: ../../development/scql_config_manual.rst:117
msgid ""
"default disable, if enabled, SCDB will directly reveal group mark when "
"calculating group by, thereby avoiding the overhead caused by pre-"
"shuffle. ``risk``: group size may be leaked, which is equivalent to the "
"result of count(*)"
"default disable, if enabled, SCDB will expose grouping information(size "
"of each group) when calculating group-by-aggregation, thereby avoiding "
"the overhead caused by pre-shuffle. ``risk``: group size may be leaked, "
"which is equivalent to the result of count(*)"
msgstr ""
"默认禁用,如果启用,SCDB 在计算 group by 时会直接使用 group "
"mark ,从而避免前置 shuffle 带来的开销。``风险``:分组大小可能会泄露,等价于泄露 count(*) 的结果"
"默认禁用,如果启用,SCDB 在计算分组聚合时会公开分组信息(每个组的大小),从而避免前置 shuffle "
"带来的开销。``风险``:分组大小会泄露,等价于泄露 count(*) 的结果"

#: ../../development/scql_config_manual.rst:119
msgid "A typical config of security_compromise can be like:"
Expand Down

0 comments on commit 485f7ba

Please sign in to comment.