JNSimba commented on PR #71028: URL: https://github.com/apache/doris/pull/71028#issuecomment-7214595065
Overall review of PR #71028 at commit `a7acfcdfd500b7971cbdb0c0fdf46de8a51f7580`, using GPT-6.2-Sol with xhigh effort. **No remaining blocking findings. The implementation is acceptable within the documented scope.** The PR addresses the query-replacement authorization gap by restricting ALTER to permitted TVF property changes while preserving the surrounding query and existing immutable-source checks. The review covered query-boundary validation, caller privileges and saved-database resolution, SQL-mode handling, credential-cache refresh, update and replay paths, and the associated tests. - Target privilege checks use the saved job database and retain the caller’s identity and roles. - Saved SQL mode is applied consistently during validation, metadata privilege checks, and SQL redaction. - Removing full INSERT planning from ALTER preserves credential rotation without requiring current S3 files or triggering the additional planning diagnostics. - Tests cover rejected query changes, credential-cache refresh, redacted metadata, and waiting for committed data to become visible. The documented restrictions are acceptable for this change. Query modifications outside TVF properties are rejected, invalid credentials may be detected at runtime, and statements containing an additional nested TVF remain outside the supported ALTER scope. Earlier local review findings have been resolved or explicitly accepted as documented limitations. This review used static code inspection and targeted parser checks. I did not rerun builds or regression suites; test execution results are those reported by the author in the PR description. -- 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]
