Skip to content

Make decimal to string cast fully compatible with Spark #1068

@andygrove

Description

@andygrove

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions