Pastoray commented on PR #435: URL: https://github.com/apache/datafusion-spark/pull/435#issuecomment-7437009792
Thanks for checking. Since the review, #416, #427 and #428 have all landed, so I rebased onto current `main` and resolved the conflict with #427 in the scientific branch: the mantissa comes from `scientific_digits`, then #427's `#` handling, then the exponent. I also added the `%#.0e` record (`9.9999999` and `9.5` both give `1.e+01`). On the rebased code the suite passes (520/520), `format_string.slt` passes the PySpark runner on Spark 4.2.0 and 3.5.9, and rerunning the Java comparison gives no regressions. The only remaining `%e` mismatch is `4.9e-324`. I also compared the `%g` outputs while doing this. Only 2 of about 10,000 changed, both for the largest double, which was already wrong. `%g` has its own rounding differences that this PR doesn't touch, so I'll open a separate issue for them. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
