timsaucer commented on issue #696:
URL: 
https://github.com/apache/datafusion-python/issues/696#issuecomment-2115120820

   I have a branch ready that corrects the examples to match the spec output. 
Most of it was numerical errors between float and decimal representation, and 
converting 3 months to 90, 91, or 92 days. When the interval is fixed upstream, 
we can make that less prone to error. There was one or two queries that needed 
an algorithmic update. I will hold off on putting in that PR until we first 
answer if we want to go all in on data validation as part of the example or 
not. I have [this 
example](https://github.com/timsaucer/datafusion-python/commit/cacefab7def3f8bc49792ad84b2c0670791b88d1)
 where I pull the query up into a function and add a validation function. The 
down side of this is that it makes the example less readable to new users in my 
opinion. But it does come at the point of adding in both validation and 
preparing the result to be used by CI. I've asked this question on the discord 
server, but putting it here for traceability.


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