Skip to content
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

Merge 2310 #1990

Merged
merged 153 commits into from
Nov 8, 2023
Merged

Merge 2310 #1990

merged 153 commits into from
Nov 8, 2023

Conversation

LordofAvernus
Copy link
Collaborator

No description provided.

sjjian and others added 30 commits October 5, 2023 11:46
fix func: getTableNameCreateTableStmtMap
problem: this function cannot get all of table from a joinStmt

fix func: getOnConditionLeftAndRightType
problem: this function cannot fit all of colume name from BinaryOperationExpr

temporary solution: supports mapping from table alias to table, but the table can only consist of one table

@winfredLIN
feat:support redirect to sql_audit list
1. rule does not support explicit conversion, when there is an explicit conversion, it cannot be judged based on the converted type.
2. the table in the JOIN of rule is composed of multiple tables, column name cannot be used to indexed to the correct table.

@winfredLIN
the connection key contains multiple columns and does not trigger

@winfredLIN
chore:change input param compatible front
fix: DMLCheckJoinFieldType rule not triggered
modified: correct spelling of word column
problem:
the old version scanner will not filter out empty sql, and will uploaded empty sql, causing empty node after parse error.

solution:
in sqle server, we filter out SQL files uploaded by scanner with empty SQL content and do not save them to the database.

@winfredLIN
fix: empty node after parse cause by empty sql
sqle/model/rule_list.go Outdated Show resolved Hide resolved
@sjjian sjjian merged commit ffa5967 into release-3.2311.x Nov 8, 2023
2 checks passed
@sjjian sjjian deleted the merge-2310 branch July 30, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants