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

RelatedTables returns nothing if the statement fails to build logical plan #50988

Closed
CbcWestwolf opened this issue Feb 5, 2024 · 0 comments · Fixed by #50989
Closed

RelatedTables returns nothing if the statement fails to build logical plan #50988

CbcWestwolf opened this issue Feb 5, 2024 · 0 comments · Fixed by #50989
Assignees
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@CbcWestwolf
Copy link
Member

Bug Report

In our audit log implementation, it uses RelatedTables to get the tables list for latter filtering. However, if the statement fails to build logical plan, return e.sc.Tables will return nothing, makes the audit log filter fail to work.

@CbcWestwolf CbcWestwolf added type/bug The issue is confirmed as a bug. severity/major affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. labels Feb 5, 2024
@CbcWestwolf CbcWestwolf self-assigned this Feb 5, 2024
@ti-chi-bot ti-chi-bot bot added may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 labels Feb 5, 2024
@CbcWestwolf CbcWestwolf removed may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 labels Feb 5, 2024
@jebter jebter added the sig/sql-infra SIG: SQL Infra label Feb 17, 2024
@ti-chi-bot ti-chi-bot added the affects-8.1 This bug affects the 8.1.x(LTS) versions. label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants