You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "Carl239 (via GitHub)" <gi...@apache.org> on 2025/06/17 10:04:42 UTC

[PR] GRAVITINO-7416: Fix empty bypass key handling in HiveCatalogOperations [gravitino]

Carl239 opened a new pull request, #7417:
URL: https://github.com/apache/gravitino/pull/7417

   <!--
   1. [#7416] feat(catalog-hive): Fix empty bypass key handling in HiveCatalogOperations
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   3. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   [#7416] feat(catalog-hive): Fix empty bypass key handling in HiveCatalogOperations
   
   ### Why are the changes needed?
   
   The current implementation doesn't check if the key after removing the bypass prefix is empty.
   This could lead to:
   Adding an empty key to the Hive configuration
   Potential unexpected behavior in the Hive client
   Difficult-to-debug issues where configuration values are not properly applied
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No
   
   ### How was this patch tested?
   
   Just run function testEmptyBypassKey in TestHiveCatalogOperations
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#7416] fix(catalog-hive): Fix empty bypass key handling in HiveCatalogOperations [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao merged PR #7417:
URL: https://github.com/apache/gravitino/pull/7417


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org