Conversation
|
Thanks a lot @parharti and @JoeZiminski . Sorry, had to revamp through a new fork . But here I have split commits for both issues in separate PR's |
|
I have your comments from the previous PR, I'll be going through them and continue with the refactoring and all. Thanks for the feedback. |
|
Hi @aakash-test7 thanks a lot for this, much appreciated. I will review once #464 is merged, because I think this PR can leverage some of the new changes. Cheers! |
|
Hi @aakash-test7 thanks for this, I can see the logic of testing the broad / narrow datatypes are not mixed, and is a very useful endeavour #466. In this case, the Typically the broad / narrow datatype will need to be checked in two places. Firstly, when the user passes a list of datatypes with In terms of the validation, given a list of datatypes I think the checking logic could be something like: This is not very efficient as it does two full passes through the list but this list is very unlikely to be bigger than 1000 elements, 10,000 in a test case took 0.0008 s so I don't think we need to prioritise efficiency here. I will close this for now but thanks a lot for taking a look at this issue! |
Enhacement for issue #466 . Create a new function to check for datatype mismatch between narrow and broad datatypes.