nchammas commented on PR #53695:
URL: https://github.com/apache/spark/pull/53695#issuecomment-4535470929

   Maybe the key has to do with float literals?
   
   From this branch:
   
   ```scala
   scala> Seq(-0.0d, 0.0d).toDF("v").show()
   +----+
   |   v|
   +----+
   |-0.0|
   | 0.0|
   +----+
   
   
   scala> spark.sql("values (-0.0), (0.0)").show()
   +----+
   |col1|
   +----+
   | 0.0|
   | 0.0|
   +----+
   ```
   
   In any case, I think we should address this discrepancy, either here or in a 
follow-up PR, because it is very confusing.


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