Skip to content

Commit

Permalink
add sudo
Browse files Browse the repository at this point in the history
Signed-off-by: zenghua <[email protected]>
  • Loading branch information
zenghua committed Feb 18, 2024
1 parent 1663ed2 commit 39cc8a5
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,16 @@ object ConsistencyCI {
sparkDF.show
println(s"${tup._1} rustDF: ")
rustDF.show
// val diff1 = sparkDF.rdd.subtract(rustDF.rdd)
// val diff2 = rustDF.rdd.subtract(sparkDF.rdd)
// val result = diff1.count() == 0 && diff2.count() == 0
// if (!result) {
// println("sparkDF: ")
// println(sparkDF.collectAsList())
// println("rustDF: ")
// println(rustDF.collectAsList())
// System.exit(1)
// }
val diff1 = sparkDF.rdd.subtract(rustDF.rdd)
val diff2 = rustDF.rdd.subtract(sparkDF.rdd)
val result = diff1.count() == 0 && diff2.count() == 0
if (!result) {
println("sparkDF: ")
println(sparkDF.collectAsList())
println("rustDF: ")
println(rustDF.collectAsList())
System.exit(1)
}
})

}
Expand Down

0 comments on commit 39cc8a5

Please sign in to comment.