HyukjinKwon commented on PR #133:
URL: 
https://github.com/apache/spark-connect-rust/pull/133#issuecomment-6683195247

   Thanks for this. As agreed with the maintainers, I am leaving it open, with 
its hold, for a rework against the current master:
   
   - Master's `decimal_to_value` no longer has the `obj.str()` this change 
builds on: it formats exact Decimals with `'{:f}'`, so the diff does not apply.
   - Master now types inferred pandas Decimal columns by their values 
(`pandas_decimal_type`, from `as_tuple()` of each cell), as PySpark does: 
`Decimal('123.4500')` gives `decimal(7,4)`. `test_decimal_scale_input_ipc` and 
the related tests expect `decimal128(38, s)` for pandas input with names or an 
inferred schema, and `test_decimal_scale_avoids_coefficient_tuple` expects no 
`DecimalTuple`, which `pandas_decimal_type` still builds for inferred columns.
   - `test_decimal_scale_scientific_compatibility` returns early on a 
`RuntimeError`, so it accepts either outcome.
   


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