Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store self serve replication API destination input as uppercase (#260)
## Summary <!--- HINT: Replace #nnn with corresponding Issue number, if you are fixing an existing issue --> This PR saves the destination input for the self serve replication API as uppercase in the server side to maintain consistency across inputs. The API still accepts both lower/upper case inputs, but the server processes it as uppercase. ## Changes - [ ] Client-facing API Changes - [ ] Internal API Changes - [ ] Bug Fixes - [ ] New Features - [ ] Performance Improvements - [ ] Code Style - [x] Refactoring - [ ] Documentation - [ ] Tests For all the boxes checked, please include additional details of the changes made in this pull request. ## Testing Done <!--- Check any relevant boxes with "x" --> - [x] Manually Tested on local docker setup. Please include commands ran, and their output. - [ ] Added new tests for the changes made. - [x] Updated existing tests to reflect the changes made. - [ ] No tests added or updated. Please explain why. If unsure, please feel free to ask for help. - [ ] Some other form of testing like staging or soak time in production. Please explain. For all the boxes checked, include a detailed description of the testing done for the changes made in this pull request. Updated unit testing and tested on local docker: ``` spark.sql("alter table u_tableowner.tbl1 set policy (replication=({destination:'bb', interval:12H}))") ``` in table properties: ``` "replication": { "config": [ { "destination": "\u0027BB\u0027", "interval": "12H", } ] ``` ``` spark.sql("alter table u_tableowner.tbl1 set policy (replication=({destination:'BB', interval:12H}))") ``` in table properties: ``` "replication": { "config": [ { "destination": "\u0027BB\u0027", "interval": "12H", } ``` # Additional Information - [ ] Breaking Changes - [ ] Deprecations - [ ] Large PR broken into smaller PRs, and PR plan linked in the description. For all the boxes checked, include additional details of the changes made in this pull request.
- Loading branch information