gabotechs commented on issue #15069:
URL: https://github.com/apache/datafusion/issues/15069#issuecomment-2838305222

   One idea that comes to mind is to be able to run the sqllogictests in 
"substrait roundrip" mode. Upon building a logical DataFusion plan, it would be 
converted to Substrait and then back to DataFusion logical for each 
sqllogictest statement.
   
   I played around with this idea and it seems to be catching existing issues 
like https://github.com/apache/datafusion/issues/15855. 
   
   Some advantage of this is that it's a high-coverage/low-effort solution, and 
that it tests both consuming and producing Substrait plans, but on the other 
hand the tests would be biased towards how `datafusion-substrait` produces 
plans, which might not be exactly the same as other systems.


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