Skip to content

[core] Identifier can now recognize branch and system tables#3862

Merged
JingsongLi merged 4 commits intoapache:masterfrom
tsreaper:identifier-update
Aug 1, 2024
Merged

[core] Identifier can now recognize branch and system tables#3862
JingsongLi merged 4 commits intoapache:masterfrom
tsreaper:identifier-update

Conversation

@tsreaper
Copy link
Copy Markdown
Contributor

Purpose

In # we allow visit table branches by $branch_. Now an identifier may represent a data table, or a system table, or a table branch.

In this PR, we add some methods in Identifier so that it can recognize branches and system tables. Catalogs will need these methods to get schemas, communicate with metastores, etc.

Tests

This is a refactor. Existing tests should cover the changes.

API and Format

Identifier is a public API. This PR adds some methods to the class.

Documentation

No new feature.

Copy link
Copy Markdown
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi merged commit 7df8880 into apache:master Aug 1, 2024
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