thanseehabdulla opened a new pull request, #4538: URL: https://github.com/apache/hive/pull/4538
What changes were proposed in this pull request? The proposed changes in this pull request were to address an issue where Presto schema was misbehaving, causing corruption in the schema. Additionally, it was showing all the schemas as tables under a new schema when a schema name with leading whitespace was created using the CREATE SCHEMA query. The pull request aimed to fix this issue by introducing proper validation to prevent leading or trailing whitespace in schema names. Why are the changes needed? The changes were needed to fix the misbehavior of Presto schema, which was causing schema corruption and incorrect display of schemas as tables. The issue was triggered when creating a new schema with leading whitespace in the name using the CREATE SCHEMA query. By introducing proper validation to disallow leading and trailing whitespace in schema names, the problem could be resolved. Does this PR introduce any user-facing change? No, this pull request does not introduce any user-facing change. It focuses on internal validation to ensure the correctness of schema names and does not impact how users interact with the system. Is the change a dependency upgrade? No, this pull request is not related to a dependency upgrade. It addresses an issue within the existing codebase without updating any external dependencies. How was this patch tested? The patch was tested by patching a Hive Metastore running on a virtual machine (VM) with PrestoDB. The validation changes were applied, and the behavior was observed to verify that the issue was resolved, and schemas were displayed correctly without corruption. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org