kameshsampath opened a new pull request, #1022:
URL: https://github.com/apache/polaris/pull/1022

   Handle lowercase storage types in JSON payload for create catalogs. This fix 
allows the catalog request to be of the form 
   
   ```json
   {
       "catalog": {
           "name": "my_catalog",
           "type": "INTERNAL",
           "readOnly": false,
           "properties": {
               "default-base-location": "s3://mycatalogs"
           },
           "storageConfigInfo": {
               "storageType": "S3",
               "allowedLocations": ["s3://mycatalogs"]
           }
       }
   }
   ```
   
   (or)
   
   ```json
   {
       "catalog": {
           "name": "my_catalog",
           "type": "INTERNAL",
           "readOnly": false,
           "properties": {
               "default-base-location": "s3://mycatalogs"
           },
           "storageConfigInfo": {
               "storageType": "s3",
               "allowedLocations": ["s3://mycatalogs"]
           }
       }
   }
   ```
   
   And lowercase storage types will be uppercased for consistency while deser.
   
   Fix: #996 
   


-- 
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: issues-unsubscr...@polaris.apache.org

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

Reply via email to