Pastoray commented on PR #427:
URL: https://github.com/apache/datafusion-spark/pull/427#issuecomment-7219839025

   Thanks for the fix, this looks right.
   
   I built the branch and checked it against `java.util.Formatter`: `%#.0e` 
(5.0, 12345.0, 0.5, 1e-5), `%#.0E`, `%#.2e` and `%#e` all match, including on 
the array path, and the full sqllogictest suite passes.
   
   **Suggestion (not a blocker):** once #416 lands, please add records for 
`%#.0e` of `0.0` (`0.e+00`, as #423 notes), `-0.0` (`-0.e+00`) and `%#.0E` of 
`0.0` (`0.E+00`). I merged both PRs locally and they combine cleanly and match 
Java, but neither PR tests this combination.
   
   **FYI, unrelated:** `%.0e` of `9.9999999` gives `10e+00` (Java: `1e+01`). It 
reproduces on `main`, so this PR doesn't cause it. I'll file a separate issue.


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

Reply via email to