Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7026

[Java] Remove assertions in MessageSerializer/vector/writer/reader

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16.0
    • Component/s: Java

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tianchen92 Ji Liu
                Reporter:
                tianchen92 Ji Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.5h
                  4.5h