Skip to content

Commit

Permalink
Refactor window operations to do them in the exec (#2882)
Browse files Browse the repository at this point in the history
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
  • Loading branch information
revans2 authored Jul 7, 2021
1 parent cd1481d commit 3410f68
Show file tree
Hide file tree
Showing 3 changed files with 558 additions and 456 deletions.
2 changes: 2 additions & 0 deletions sql-plugin/src/main/scala/com/nvidia/spark/rapids/Arm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ trait Arm {
} finally {
r match {
case c: AutoCloseable => c.close()
case scala.util.Left(c: AutoCloseable) => c.close()
case scala.util.Right(c: AutoCloseable) => c.close()
case _ => //NOOP
}
}
Expand Down
Loading

0 comments on commit 3410f68

Please sign in to comment.