evol: add an option to check arguments passed by user#41
Conversation
|
I ❤️ the idea @nbc! |
There's two way to do it : check the returned dataset object We use the same method to check the returned object and warn/fail if it's not ok for us. This way is more flexible as we can check if there's NA and the number of partition files for example. really check the values of partioning columns for NA We use something like this : I prefer the first way but we should perhaps wait for the talk to choose no ? I will implement the first way anyway as soon as I've time. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #41 +/- ##
==========================================
- Coverage 99.71% 99.47% -0.25%
==========================================
Files 16 17 +1
Lines 352 379 +27
==========================================
+ Hits 351 377 +26
- Misses 1 2 +1
☔ View full report in Codecov by Sentry. |
Hi @ddotta,
A first implementation to allow arguments checking.
We can do the same thing to check the returned dataset. It will be even simpler, the function will just take the dataset object.
Regards