u70b3 commented on PR #67201: URL: https://github.com/apache/doris/pull/67201#issuecomment-5564281300
Addressed in 7469e38: added a shared validateIndexName in LanceIndexMutationValidator rejecting null/empty names and names over 64 UTF-8 bytes, invoked for both Directory CREATE (via validateCreateIndex) and DROP (via validateDropIndex(catalog, indexName) before the typed rejection). Command-level coverage added in AlterTableCommandLanceIndexTest.testBlankQuotedIndexNameRejectedOnBothPaths (empty quoted names on CREATE / CREATE OR REPLACE / DROP / DROP IF EXISTS, plus a no-id-allocation check) and the regression suite. The REST path keeps its fail-fast unsupported response before metadata resolution (3938775). PTAL. -- 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]
