Skip to content

Commit be54ce9

Browse files
Jamesclaude
andcommitted
style: apply scalafmt formatting to Pregel.scala
Fix formatting issues that were causing CI scalafmt checks to fail. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7f32626 commit be54ce9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/src/main/scala/org/graphframes/lib/Pregel.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,8 @@ class Pregel(val graph: GraphFrame)
424424

425425
val edges = graph.edges
426426
.select(col(SRC).alias("edge_src"), col(DST).alias("edge_dst"), struct(col("*")).as(EDGE))
427-
.repartition((if (needsDstState) Seq(col("edge_src"), col("edge_dst")) else Seq(col("edge_src"))): _*)
427+
.repartition(
428+
(if (needsDstState) Seq(col("edge_src"), col("edge_dst")) else Seq(col("edge_src"))): _*)
428429
.persist(intermediateStorageLevel)
429430

430431
var iteration = 1

0 commit comments

Comments
 (0)