Commit 69b6fed
[SPARK-4663][sql]add finally to avoid resource leak
Author: baishuo <[email protected]>
Closes apache#3526 from baishuo/master-trycatch and squashes the following commits:
d446e14 [baishuo] correct the code style
b36bf96 [baishuo] correct the code style
ae0e447 [baishuo] add finally to avoid resource leak1 parent e75e04f commit 69b6fed
File tree
1 file changed
+7
-4
lines changed- sql/core/src/main/scala/org/apache/spark/sql/parquet
1 file changed
+7
-4
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
307 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
308 | 312 | | |
309 | | - | |
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
| |||
0 commit comments