apache / cloudberry

One advanced and mature open-source MPP (Massively Parallel Processing) database. Open source alternative to Greenplum Database.
https://cloudberry.apache.org
Apache License 2.0
430 stars 104 forks source link

Fix add or alter tag value to object will error out when tag's allowe… #642

Closed wenchaozhang-123 closed 1 month ago

wenchaozhang-123 commented 1 month ago

…d_values is null.

Now, if tag's allowed_values is null, when we add or alter tag value to object will error out. In this commit, we fix this unreasonable behavior. We can add or alter any tag value to object when the tag's allowed_values is null.

Authored-by: Zhang Wenchao zwcpostgres@gmail.com

fix #ISSUE_Number


Change logs

Describe your change clearly, including what problem is being solved or what feature is being added.

If it has some breaking backward or forward compatibility, please clary.

Why are the changes needed?

Describe why the changes are necessary.

Does this PR introduce any user-facing change?

If yes, please clarify the previous behavior and the change this PR proposes.

How was this patch tested?

Please detail how the changes were tested, including manual tests and any relevant unit or integration tests.

Contributor's Checklist

Here are some reminders and checklists before/when submitting your pull request, please check them: