xanderbailey commented on code in PR #406:
URL: https://github.com/apache/datafusion-spark/pull/406#discussion_r4665297467


##########
crates/spark/src/function/string/format_string.rs:
##########
@@ -1738,7 +1738,6 @@ impl ConversionSpecifier {
 
         if value.is_finite() {
             let mut use_scientific = false;
-            let mut strip_trailing_0s = false;

Review Comment:
   https://github.com/tjol/sprintf-rs/blob/main/src/format.rs#L289 all this 
code looks like it comes from here but this matches what C does rather than 
Java's bahaviour so it can be removed.



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