[jira] [Updated] (ARROW-11681) [Rust] IPC writers shouldn't unwrap in destructors

2021-03-11 Thread Andy Grove (Jira)


 [ 
https://issues.apache.org/jira/browse/ARROW-11681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Grove updated ARROW-11681:
---
Fix Version/s: 3.0.1

> [Rust] IPC writers shouldn't unwrap in destructors
> --
>
> Key: ARROW-11681
> URL: https://issues.apache.org/jira/browse/ARROW-11681
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Rust
>Affects Versions: 3.0.0
>Reporter: Steven Fackler
>Assignee: Steven Fackler
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0, 3.0.1
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> FileWriter and StreamWriter call `self.finish().unwrap()` in their `Drop` 
> implementations if the write has not already been finished. However, a common 
> reason for the write to not be finished is an earlier IO error on the 
> underlying stream. In that case, the destructor will panic, which is not 
> desired.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARROW-11681) [Rust] IPC writers shouldn't unwrap in destructors

2021-02-17 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARROW-11681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-11681:
---
Labels: pull-request-available  (was: )

> [Rust] IPC writers shouldn't unwrap in destructors
> --
>
> Key: ARROW-11681
> URL: https://issues.apache.org/jira/browse/ARROW-11681
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Rust
>Affects Versions: 3.0.0
>Reporter: Steven Fackler
>Assignee: Steven Fackler
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> FileWriter and StreamWriter call `self.finish().unwrap()` in their `Drop` 
> implementations if the write has not already been finished. However, a common 
> reason for the write to not be finished is an earlier IO error on the 
> underlying stream. In that case, the destructor will panic, which is not 
> desired.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARROW-11681) [Rust] IPC writers shouldn't unwrap in destructors

2021-02-17 Thread Steven Fackler (Jira)


 [ 
https://issues.apache.org/jira/browse/ARROW-11681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven Fackler updated ARROW-11681:
---
Component/s: Rust

> [Rust] IPC writers shouldn't unwrap in destructors
> --
>
> Key: ARROW-11681
> URL: https://issues.apache.org/jira/browse/ARROW-11681
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Rust
>Reporter: Steven Fackler
>Assignee: Steven Fackler
>Priority: Major
>
> FileWriter and StreamWriter call `self.finish().unwrap()` in their `Drop` 
> implementations if the write has not already been finished. However, a common 
> reason for the write to not be finished is an earlier IO error on the 
> underlying stream. In that case, the destructor will panic, which is not 
> desired.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARROW-11681) [Rust] IPC writers shouldn't unwrap in destructors

2021-02-17 Thread Steven Fackler (Jira)


 [ 
https://issues.apache.org/jira/browse/ARROW-11681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven Fackler updated ARROW-11681:
---
Affects Version/s: 3.0.0

> [Rust] IPC writers shouldn't unwrap in destructors
> --
>
> Key: ARROW-11681
> URL: https://issues.apache.org/jira/browse/ARROW-11681
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Rust
>Affects Versions: 3.0.0
>Reporter: Steven Fackler
>Assignee: Steven Fackler
>Priority: Major
>
> FileWriter and StreamWriter call `self.finish().unwrap()` in their `Drop` 
> implementations if the write has not already been finished. However, a common 
> reason for the write to not be finished is an earlier IO error on the 
> underlying stream. In that case, the destructor will panic, which is not 
> desired.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)