Skip to content

[#7311] feat(policy): add new backend table schema for policy (part-1) #7312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mchades
Copy link
Contributor

@mchades mchades commented May 30, 2025

What changes were proposed in this pull request?

add new backend table schema for policy

Why are the changes needed?

Fix: #7311

Does this PR introduce any user-facing change?

no

How was this patch tested?

CI pass

@mchades mchades requested a review from jerryshao May 30, 2025 10:31
@mchades mchades changed the title [#7311] feat(policy): add new backend table schema for policy [#7311] feat(policy): add new backend table schema for policy (part-1) May 30, 2025
@Abyss-lord
Copy link
Collaborator

@mchades @jerryshao Should we also update the comment field types in the upgrade script? For example:

ALTER TABLE metalake_meta ALTER COLUMN metalake_comment SET DATA TYPE TEXT;
ALTER TABLE catalog_meta ALTER COLUMN catalog_comment SET DATA TYPE TEXT;
ALTER TABLE schema_meta ALTER COLUMN schema_comment SET DATA TYPE TEXT;
ALTER TABLE fileset_version_info ALTER COLUMN fileset_comment SET DATA TYPE TEXT;
ALTER TABLE topic_meta ALTER COLUMN comment SET DATA TYPE TEXT;
ALTER TABLE tag_meta ALTER COLUMN tag_comment SET DATA TYPE TEXT;
ALTER TABLE table_column_version_info ALTER COLUMN column_comment SET DATA TYPE TEXT;

@mchades
Copy link
Contributor Author

mchades commented Jun 2, 2025

Should we also update the comment field types in the upgrade script? For example:

Yes, if there are any requirements, but not in this PR, I think.

@mchades mchades force-pushed the policy-backend-1 branch from e6d83d9 to bccb93e Compare June 5, 2025 07:11
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.

[Subtask] Add Relational Backend Support for Policy (part-1)
2 participants