comphead commented on code in PR #4386:
URL: https://github.com/apache/datafusion-comet/pull/4386#discussion_r3349652089


##########
spark/src/main/scala/org/apache/comet/expressions/CometCast.scala:
##########
@@ -243,11 +241,7 @@ object CometCast extends CometExpressionSerde[Cast] with 
CometExprShim {
       case DataTypes.DateType => Compatible()
       case DataTypes.TimestampType => Compatible()
       case DataTypes.FloatType | DataTypes.DoubleType =>
-        Compatible(
-          Some(
-            "There can be differences in precision. " +
-              "For example, the input \"1.4E-45\" will produce 1.0E-45 " +
-              "instead of 1.4E-45"))
+        Compatible(Some("There can be differences in precision"))

Review Comment:
   would be still nice to give the scope of the problem to the end user



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