Commit e1d9c7f
committed
ARROW-1550: [Python] Explicitly close owned file handles in ParquetWriter.close to avoid Windows flakiness
I can reproduce this failure locally, but I'm unsure why this just now started happening. The 0.7.0 release build passed (https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/build/1.0.3357/job/477b1iicmwuy51l8) and there haven't been related code changes since then. Either way it's better to close the sink explicitly
Author: Wes McKinney <wes.mckinney@twosigma.com>
Closes #1114 from wesm/ARROW-1550 and squashes the following commits:
863827c [Wes McKinney] Check status
7248c79 [Wes McKinney] Explicitly close owned file handles in ParquetWriter.close to avoid flakiness on Windows1 parent 4a65fea commit e1d9c7f
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| 565 | + | |
565 | 566 | | |
566 | 567 | | |
567 | 568 | | |
| |||
588 | 589 | | |
589 | 590 | | |
590 | 591 | | |
| 592 | + | |
591 | 593 | | |
592 | 594 | | |
| 595 | + | |
593 | 596 | | |
594 | 597 | | |
595 | 598 | | |
| |||
664 | 667 | | |
665 | 668 | | |
666 | 669 | | |
| 670 | + | |
| 671 | + | |
667 | 672 | | |
668 | 673 | | |
669 | 674 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | 1205 | | |
1209 | 1206 | | |
1210 | 1207 | | |
| |||
0 commit comments