Skip to content

Commit

Permalink
Update spark/src/test/scala/org/apache/comet/CometCastSuite.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Liang-Chi Hsieh <viirya@gmail.com>
  • Loading branch information
andygrove and viirya authored Apr 27, 2024
1 parent b283711 commit 9a51239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spark/src/test/scala/org/apache/comet/CometCastSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper {

test("cast string to int") {
// test with hand-picked values
castTest(castStringToIntegralInputs.toDF("a"), DataTypes.ByteType)
castTest(castStringToIntegralInputs.toDF("a"), DataTypes.IntegerType)
// fuzz test
castTest(generateStrings(numericPattern, 5).toDF("a"), DataTypes.ByteType)
}
Expand Down

0 comments on commit 9a51239

Please sign in to comment.