Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make decimal to string cast fully compatible with Spark #1068

Open
andygrove opened this issue Nov 8, 2024 · 0 comments
Open

Make decimal to string cast fully compatible with Spark #1068

andygrove opened this issue Nov 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@andygrove
Copy link
Member

What is the problem the feature request solves?

When casting a Decimal(18,10) with value 0 to a string, Spark produces 0E-10, but Comet produces 0.000000000000000000 (18 zeroes after the decimal place).

See test("cast StructType to StringType") in CometCastSuite for more details.

Describe the potential solution

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant