Rajeev-01 opened a new pull request, #14295:
URL: https://github.com/apache/iceberg/pull/14295

   ### Summary
   
   - While we are creating a new table in hive, if location hasn't passed 
explicitly we are fetching database path from HMS and appending "/" followed by 
tableName.
   - There are no checks if the HMS db path has trailing slashes.
   - This commit fixes a bug where database locations with trailing slashes in 
Hive Metastore (HMS) would create table locations with double slashes (e.g. 
database_path//table_name).
   
   ### Test plan
   
   - Added an UT which will check end to end flow where we will create the db 
with path having trailing slash and they will be removed while creating the 
table using hiveCatalaog


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to