Blizzara commented on PR #15211:
URL: https://github.com/apache/datafusion/pull/15211#issuecomment-2725937469

   > Does this error come from Datafusion or from Substrait? I wouldn't think 
Substrait would care about duplicate names (since it doesn't use names).
   
   DataFusion. Substrait indeed doesn't care.
   
   > If the error is coming from Datafusion then maybe it's not a valid logical 
plan?
   
   Exactly. It's valid Substrait (produced by Isthmus, and why would it not 
be?), but not valid DF since DF has extra conditions on the logical plan.
   
   > I'm not opposed to the change but do we want to have the Substrait 
serializer be robust to invalid input? That seems like it could be a slippery 
slope to more work.
   
   By "serializer", do you mean "consumer" or "producer"? This PR is for the 
part that turns Substrait into DF plans, so as far as I know the plan is valid 
Substrait and this PR helps make it valid DF as well. Not sure if I understood 
the question though?


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to