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

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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants