Skip to content

[WIP] HIVE-29242: Add catalog for transaction module#6400

Draft
Neer393 wants to merge 1 commit intoapache:masterfrom
Neer393:HIVE-29242
Draft

[WIP] HIVE-29242: Add catalog for transaction module#6400
Neer393 wants to merge 1 commit intoapache:masterfrom
Neer393:HIVE-29242

Conversation

@Neer393
Copy link
Copy Markdown
Contributor

@Neer393 Neer393 commented Apr 1, 2026

What changes were proposed in this pull request?

This PR is to add catalog support for transaction module. The following changes were done

  1. Updated HMS table schemas to have a catalog column. Upgrade schemas were also updated to add catalog columns.
  2. Updated hive_metastore.thrift objects with an optional catalog field which is defaulted to the default catalog when not passed.
  3. Updated the usages of the thrift generated classes objects to accomodate catalog passing to make transactions catalog aware.

Why are the changes needed?

This is a new support for making transactions catalog aware. If not done, transactions on same db and table name but in different catalogs could not be differentiated and may show random behaviour.

Does this PR introduce any user-facing change?

No user facing change.

How was this patch tested?

Still work in progress. So testing is yet to be done

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants