You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DELTA-OSS-EXTERNAL] Fix integer overflow of numUpdatedRows
`numUpdatedRows` can overflow integer when update a large table.
```
java.lang.NumberFormatException: For input string: "4029988707"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
at java.lang.Integer.parseInt(Integer.java:615)
at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:272)
at scala.collection.immutable.StringOps.toInt(StringOps.scala:29)
at org.apache.spark.sql.delta.DeltaOperations$Update.transformMetrics(DeltaOperations.scala:190)
at org.apache.spark.sql.delta.files.SQLMetricsReporting$class.getMetricsForOperation(SQLMetricsReporting.scala:62)
at org.apache.spark.sql.delta.OptimisticTransaction.getMetricsForOperation(OptimisticTransaction.scala:80)
```
Closes#428
Signed-off-by: liwensun <[email protected]>
Author: Alan Jin <[email protected]>
#10064 is resolved by liwensun/4eq64o5z.
GitOrigin-RevId: c4c77a7044d75896fc5ed8b766bd97ac87929d81
0 commit comments