Skip to content

feat(catalog, schema): Add existence check and schema improvements#56

Merged
lxy-9602 merged 7 commits intoalibaba:mainfrom
Eyizoha:api
Jan 18, 2026
Merged

feat(catalog, schema): Add existence check and schema improvements#56
lxy-9602 merged 7 commits intoalibaba:mainfrom
Eyizoha:api

Conversation

@Eyizoha
Copy link
Copy Markdown
Contributor

@Eyizoha Eyizoha commented Jan 15, 2026

Purpose

  • feat(catalog): Support db/tbl exists check
    • Add methods to Catalog interface for checking database and table existence
  • refactor(schema): Use TableSchema directly
    • Refactor Schema interface implementation to directly inherit the interface using TableSchema, similar to FileSystemCatalog and other classes, avoiding one layer of indirection overhead
  • feat(schema): Add GetJsonSchema for Schema interface
    • Add method to Schema interface for retrieving schema in JSON format, which can be conveniently used in places like ReadContextBuilder::SetTableSchema

Tests

None

API and Format

Three new interface methods added to API, no impact on existing interfaces or format

Documentation

No new features introduced

Copy link
Copy Markdown
Collaborator

@lxy-9602 lxy-9602 left a comment

Choose a reason for hiding this comment

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

+1

@lxy-9602 lxy-9602 merged commit 92b61e3 into alibaba:main Jan 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants