-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Feature](nereids) support encrypt sql for audit log #47595
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
Outdated
Show resolved
Hide resolved
|
CreateTableCommand need to be encrypted in some case, and please check if CreateSqlBlockRuleCommand or other command is needed too |
SQL of |
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 31492 ms |
TPC-DS: Total hot run time: 189899 ms |
ClickBench: Total hot run time: 30.17 s |
|
run buildall |
TPC-H: Total hot run time: 31617 ms |
TPC-DS: Total hot run time: 189210 ms |
ClickBench: Total hot run time: 30.18 s |
|
run buildall |
TPC-H: Total hot run time: 31623 ms |
TPC-DS: Total hot run time: 190852 ms |
ClickBench: Total hot run time: 30.16 s |
### What problem does this PR solve? The new optimizer does not support the encryption of sql sensitive information well, so it implements a general encryption framework Co-authored-by: garenshi <garenshi@tencent.com>
### What problem does this PR solve? The new optimizer does not support the encryption of sql sensitive information well, so it implements a general encryption framework Co-authored-by: garenshi <garenshi@tencent.com>
…48527) ### What problem does this PR solve? Issue Number: close #xxx Related PR: #47595 Problem Summary: For PR #47595 , set `stmt` to `error messsage` of `org.apache.doris.qe.QueryState.ErrType#ANALYSIS_ERR` of query audit, so many of the original SQL will be abandoned, this is very unreasonable, It is now more appropriate to set stmt to error message only for queries that are syntax parsed incorrectly Now only sql with syntax errors is ignored Co-authored-by: garenshi <garenshi@tencent.com>
…48527) ### What problem does this PR solve? Issue Number: close #xxx Related PR: #47595 Problem Summary: For PR #47595 , set `stmt` to `error messsage` of `org.apache.doris.qe.QueryState.ErrType#ANALYSIS_ERR` of query audit, so many of the original SQL will be abandoned, this is very unreasonable, It is now more appropriate to set stmt to error message only for queries that are syntax parsed incorrectly Now only sql with syntax errors is ignored Co-authored-by: garenshi <garenshi@tencent.com>
…pache#48527) ### What problem does this PR solve? Issue Number: close #xxx Related PR: apache#47595 Problem Summary: For PR apache#47595 , set `stmt` to `error messsage` of `org.apache.doris.qe.QueryState.ErrType#ANALYSIS_ERR` of query audit, so many of the original SQL will be abandoned, this is very unreasonable, It is now more appropriate to set stmt to error message only for queries that are syntax parsed incorrectly Now only sql with syntax errors is ignored Co-authored-by: garenshi <garenshi@tencent.com>
…48527) ### What problem does this PR solve? Issue Number: close #xxx Related PR: #47595 Problem Summary: For PR #47595 , set `stmt` to `error messsage` of `org.apache.doris.qe.QueryState.ErrType#ANALYSIS_ERR` of query audit, so many of the original SQL will be abandoned, this is very unreasonable, It is now more appropriate to set stmt to error message only for queries that are syntax parsed incorrectly Now only sql with syntax errors is ignored Co-authored-by: garenshi <garenshi@tencent.com>
What problem does this PR solve?
Issue Number: close #xxx
The new optimizer does not support the encryption of sql sensitive information well, so it implements a general encryption framework
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)