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

[Java] Provide a flag to enable/disable null-checking in vectors' get methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Java

    Description

      For vector classes, the get method first checks if the value at the given index is null. If it is not null, the method goes ahead to retrieve the value.
      For some scenarios, the first check is redundant, because the application code has already checked the null, before calling the get method. This redundant check may have non-trivial performance overheads.

      So we add a flag to enable/disable the null checking, so the user can set the flag according to their own specific scenario.

      Attachments

        Issue Links

          Activity

            People

              fan_li_ya Liya Fan
              fan_li_ya Liya Fan
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 3.5h
                  3.5h