Skip to content

[sql]: remove deprecated TableReference re-exports - #23102

Merged
alamb merged 2 commits into
apache:mainfrom
mgkz0:chore/remove-sql-table-reference-reexports
Jun 23, 2026
Merged

alamb merged 2 commits into
apache:mainfrom
mgkz0:chore/remove-sql-table-reference-reexports

Conversation

@mgkz0

@mgkz0 mgkz0 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

ResolvedTableReference and TableReference re-exports were deprecated in 46.0.0 in datafusion-sql and should be imported from datafusion_common (or datafusion::common) instead.

What changes are included in this PR?

  • Removed deprecated ResolvedTableReference and TableReference re-exports from datafusion-sql (lib.rs).
  • Updated internal downstream imports in datafusion-sql, datafusion-core, and datafusion-substrait to use correct paths.

Are these changes tested?

Verified by running local compilation and tests.

Are there any user-facing changes?

Yes. This removes deprecated public Rust API re-exports ResolvedTableReference and TableReference from datafusion-sql. Downstream users should migrate to importing them from datafusion_common (or datafusion::common).

This is an API change and should be labeled api change.

@github-actions github-actions Bot added sql SQL Planner optimizer Optimizer rules core Core DataFusion crate substrait Changes to the substrait crate labels Jun 22, 2026

@2010YOUY01 2010YOUY01 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@alamb
alamb added this pull request to the merge queue Jun 23, 2026
Merged via the queue into apache:main with commit ed91337 Jun 23, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate optimizer Optimizer rules sql SQL Planner substrait Changes to the substrait crate v55.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants