Skip to content

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

@CbcWestwolf

Description

@CbcWestwolf

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.

Metadata

Metadata

Assignees

Labels

affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.severity/majorsig/sql-infraSIG: SQL Infratype/bugThe issue is confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions