mchades commented on PR #12424: URL: https://github.com/apache/gravitino/pull/12424#issuecomment-5324695500
@FANNG1 > ### 2. Validate without persisting, and return structured violations `all-or-nothing` defines persistence semantics; it does not require validation to fail fast. A validation-only API and structured multi-violation responses are also separate public contracts. They would require clear create/alter semantics, authorization and catalog-failure behavior, and consistent Java, REST, Python, and OpenAPI models. Since later validation layers may depend on earlier ones, not every violation can always be collected in one pass. For the initial design, validation intentionally remains part of create and alter. I prefer to design validation-only and structured diagnostics separately once we have more concrete agent-authoring requirements. -- 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]
