Make decimal to string cast fully compatible with Spark
andygrove opened this issue · comments
Andy Grove commented
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