suxiaogang223 commented on PR #68320:
URL: https://github.com/apache/doris/pull/68320#issuecomment-5866219163

   Thanks, this is a valid framework contract gap. The current prerequisite PR 
resolves connector metadata independently during required-property derivation 
and sink translation, so routing and sink construction are not guaranteed to 
observe the same metadata generation. Also, Optional.empty() currently 
conflates "no connector-specific distribution" with "metadata resolution 
failed".
   
   We will keep this PR scoped and address this in a follow-up PR: pin a 
statement-scoped write-planning descriptor (table handle/provider, bound 
schema, distribution, and metadata identity), make failures explicit when 
routing is required, and add a test that changes routing metadata between 
planning stages. No code change for this point is included in the current PR.


-- 
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