apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
11.84k stars 3.12k forks source link

[fix](sql-block-rule) fix block rule missing issue after replay #37243

Closed morningman closed 1 day ago

morningman commented 2 days ago

Intro from #30784

the sqlBlockRulesSplit field in CommonUserProperties is missing after read metadata from image.

After changing meta serde to Gson, some "after work" should be done by implementing GsonPostProcessable interface.

Also change 2 things:

  1. Shorten the serde name of some fields.
  2. When setting sql block rules for user, no longer check if the rule exist. Just like grant/revoke, when grant/revoke, we don't check if db or table exists. Decouple these 2 logics to make code simple.
morningman commented 2 days ago

run buildall

github-actions[bot] commented 2 days ago

PR approved by anyone and no changes requested.

morningman commented 2 days ago

run buildall

morningman commented 2 days ago

run buildall

morningman commented 2 days ago

run buildall

morningman commented 2 days ago

run buildall

github-actions[bot] commented 1 day ago

PR approved by at least one committer and no changes requested.