Skip to content

refactor(query): split stage and file format resolution from TableContext#19938

Draft
forsaken628 wants to merge 1 commit into
databendlabs:mainfrom
forsaken628:split-stage
Draft

refactor(query): split stage and file format resolution from TableContext#19938
forsaken628 wants to merge 1 commit into
databendlabs:mainfrom
forsaken628:split-stage

Conversation

@forsaken628
Copy link
Copy Markdown
Collaborator

@forsaken628 forsaken628 commented May 29, 2026

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

This PR moves stage/location/connection and file format resolution logic out of service-side TableContextStage, reducing planner/type-check dependencies on the full TableContext surface.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions Bot added the pr-refactor this PR changes the code base without new features or bugfix label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-refactor this PR changes the code base without new features or bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant