andygrove commented on code in PR #870:
URL: https://github.com/apache/datafusion-comet/pull/870#discussion_r1731657915


##########
spark/src/test/scala/org/apache/comet/CometCastSuite.scala:
##########
@@ -555,17 +555,51 @@ class CometCastSuite extends CometTestBase with 
AdaptiveSparkPlanHelper {
     castTest(gen.generateStrings(dataSize, numericPattern, 8).toDF("a"), 
DataTypes.FloatType)
   }
 
+  test("cast StringType to FloatType (partial support)") {

Review Comment:
   we do have failing tests already that are ignored:
   
   ```scala
     ignore("cast StringType to FloatType") {
       // https://github.com/apache/datafusion-comet/issues/326
       castTest(gen.generateStrings(dataSize, numericPattern, 8).toDF("a"), 
DataTypes.FloatType)
     }
     
       ignore("cast StringType to DoubleType") {
       // https://github.com/apache/datafusion-comet/issues/326
       castTest(gen.generateStrings(dataSize, numericPattern, 8).toDF("a"), 
DataTypes.DoubleType)
     }
   
     ignore("cast StringType to DecimalType(10,2)") {
       // https://github.com/apache/datafusion-comet/issues/325
       val values = gen.generateStrings(dataSize, numericPattern, 8).toDF("a")
       castTest(values, DataTypes.createDecimalType(10, 2))
     }
   ```



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