We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e54d60 commit 666f5deCopy full SHA for 666f5de
spark/src/test/scala/org/apache/spark/sql/CometTestBase.scala
@@ -1178,6 +1178,7 @@ abstract class CometTestBase
1178
df.showString(_numRows, truncate, vertical)
1179
}
1180
1181
+ @nowarn("cat=w-flag-numeric-widen")
1182
def makeParquetFile(
1183
path: Path,
1184
total: Int,
@@ -1231,8 +1232,8 @@ abstract class CometTestBase
1231
1232
val record = new SimpleGroup(schema)
1233
opt match {
1234
case Some(i) =>
- record.add(0, i.toByte.toInt)
1235
- record.add(1, i.toShort.toInt)
+ record.add(0, i.toByte)
1236
+ record.add(1, i.toShort)
1237
record.add(2, i)
1238
record.add(3, i.toLong)
1239
record.add(4, rand.nextFloat())
0 commit comments