diff --git a/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/commands/WriteIntoPaimonTable.scala b/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/commands/WriteIntoPaimonTable.scala index 696354e403ffa..eb3effee49c41 100644 --- a/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/commands/WriteIntoPaimonTable.scala +++ b/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/commands/WriteIntoPaimonTable.scala @@ -115,7 +115,7 @@ case class WriteIntoPaimonTable( table, rowType, bucketColIdx, - assignerParallelism.toLong, + assignerParallelism, toRow, fromRow) repartitionByBucket( @@ -239,7 +239,7 @@ object WriteIntoPaimonTable { fileStoreTable: FileStoreTable, rowType: RowType, bucketColIndex: Int, - numSparkPartitions: Long, + numSparkPartitions: Int, toRow: ExpressionEncoder.Serializer[Row], fromRow: ExpressionEncoder.Deserializer[Row] ) extends BucketProcessor {