If you are using the
R
dplyr
package with a database or withApache Spark
: I respectfully advise you inspect your code to ensure you are not using any values created inside adplyr::mutate()
statement inside the samedplyr::mutate()
statement. This has been my coding advice for some time, and it is a simple and safe re-factoring to break up such statements into safer sequences (simply by introducing moredplyr::mutate()
s).I have since encountered a non-signaling (or silent) result corruption version of the issue. We are now advising code inspection as we now have confirmation that not seeing a thrown error is not a reliable indication of correct execution and correct results.
Thanks to John for reporting, and hopefully the dplyr team can fix it.