You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Micah Kornfield (Jira)" <ji...@apache.org> on 2019/12/02 01:38:00 UTC

[jira] [Resolved] (ARROW-7026) [Java] Remove assertions in MessageSerializer/vector/writer/reader

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

Micah Kornfield resolved ARROW-7026.
------------------------------------
    Fix Version/s: 1.0.0
       Resolution: Fixed

Issue resolved by pull request 5801
[https://github.com/apache/arrow/pull/5801]

> [Java] Remove assertions in MessageSerializer/vector/writer/reader
> ------------------------------------------------------------------
>
>                 Key: ARROW-7026
>                 URL: https://issues.apache.org/jira/browse/ARROW-7026
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>            Reporter: Ji Liu
>            Assignee: Ji Liu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>
> Currently assertions exists in many classes like {{MessagaSerializer/JsonReader/JsonWriter/ListVector}} etc.
> i. If jvm arguments are not specified, these checks will skipped and lead to potential problems.
> ii. Java errors produced by failed assertions are not caught by traditional catch clauses.
> To fix this, use {{Preconditions}} instead.



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