Skip to content

feat: Add CatalogSchemaTableName and use it for table extraction (#1061)#1061

Open
hdikeman wants to merge 2 commits intofacebookincubator:mainfrom
hdikeman:export-D96455374
Open

feat: Add CatalogSchemaTableName and use it for table extraction (#1061)#1061
hdikeman wants to merge 2 commits intofacebookincubator:mainfrom
hdikeman:export-D96455374

Conversation

@hdikeman
Copy link
Contributor

@hdikeman hdikeman commented Mar 15, 2026

Summary:

Add CatalogSchemaTableName in its own header/source files as a structured representation of fully-qualified table names (catalog + schema + table). Update ViewMap, ReferencedTables, and TableVisitor to use CatalogSchemaTableName instead of raw strings or std::pair<std::string, SchemaTableName>.

Differential Revision: D96455374

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 15, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 15, 2026

@hdikeman has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96455374.

hdikeman added a commit to hdikeman/verax that referenced this pull request Mar 16, 2026
…okincubator#1061)

Summary:
Pull Request resolved: facebookincubator#1061

Axiom was recently moved to specifying table names using the SchemaTableName/CatalogSchemaTableName structures, but the referenced table extraction API was still returning raw strings. In this change, I am moving this API and the internal TableVisitor helper to the new structure

Differential Revision: D96455374
@meta-codesync meta-codesync bot changed the title refactor: Use CatalogSchemaTableName for AST table extraction refactor: Use CatalogSchemaTableName for AST table extraction (#1061) Mar 16, 2026
hdikeman added a commit to hdikeman/verax that referenced this pull request Mar 16, 2026
…okincubator#1061)

Summary:
Pull Request resolved: facebookincubator#1061

Axiom was recently moved to specifying table names using the SchemaTableName/CatalogSchemaTableName structures, but the referenced table extraction API was still returning raw strings. In this change, I am moving this API and the internal TableVisitor helper to the new structure

Differential Revision: D96455374
…acebookincubator#1060)

Summary:

Replace the `SchemaTableNameHash` functor with a `std::hash<SchemaTableName>` specialization so that `SchemaTableName` can be used directly as a key in standard and Folly hash containers without an explicit hash argument.

Differential Revision: D96455393
…ebookincubator#1061)

Summary:

Add `CatalogSchemaTableName` in its own header/source files as a structured representation of fully-qualified table names (catalog + schema + table). Update `ViewMap`, `ReferencedTables`, and `TableVisitor` to use `CatalogSchemaTableName` instead of raw strings or `std::pair<std::string, SchemaTableName>`.

Differential Revision: D96455374
@meta-codesync meta-codesync bot changed the title refactor: Use CatalogSchemaTableName for AST table extraction (#1061) feat: Add CatalogSchemaTableName and use it for table extraction (#1061) Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant