Skip to content

Commit b36bf96

Browse files
committed
correct the code style
1 parent ae0e447 commit b36bf96

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetTableOperations.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,8 @@ case class InsertIntoParquetTable(
303303
val row = iter.next()
304304
writer.write(null, row)
305305
}
306-
}
307-
finally {
308-
writer.close(hadoopContext)
306+
} finally {
307+
writer.close(hadoopContext)
309308
}
310309
committer.commitTask(hadoopContext)
311310
return 1

0 commit comments

Comments
 (0)