Skip to content

Change logical plan TableScan to use OwnedTableReference for table_name #5522

@Jefffrey

Description

@Jefffrey

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

From discussion #5343 (comment)

#5343 introduces OwnedTableReference for column relation, and this is used to compare with table_name in TableScan

Describe the solution you'd like

Change table_name in TableScan to be an OwnedTableReference, and fix this check:

https://github.com/apache/arrow-datafusion/blob/35a3acf562e4e982564f1ebb1b1ce1edef07a1b1/datafusion/optimizer/src/push_down_projection.rs#L500

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions