Skip to content

fix: Add handling for spark DecimalType#1797

Closed
MCBoarder289 wants to merge 1 commit intoData-Centric-AI-Community:developfrom
MCBoarder289:fix/1602-handle-spark-decimals
Closed

fix: Add handling for spark DecimalType#1797
MCBoarder289 wants to merge 1 commit intoData-Centric-AI-Community:developfrom
MCBoarder289:fix/1602-handle-spark-decimals

Conversation

@MCBoarder289
Copy link
Copy Markdown
Contributor

This change addresses issue #1602 (#1602).

Computations in the summarize process result in some floats when computing against decimal columns. To solution this, we simply convert those types to a DoubleType when performing those numeric operations.

Open to other suggestions or feedback on this solution!

@MCBoarder289 MCBoarder289 changed the title Add handling for spark DecimalType fix: Add handling for spark DecimalType Dec 7, 2025
This change addresses issue Data-Centric-AI-Community#1602 (Data-Centric-AI-Community#1602).

Computations in the summarize process result in some floats when computing against decimal columns.
To solution this, we simply convert those types to a DoubleType when performing those numeric operations.
@MCBoarder289
Copy link
Copy Markdown
Contributor Author

Closing in favor of #1800 which fixes multiple issues at once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant