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

[Java] Cleanup JDBC interfaces and eliminate one memcopy for binary/varchar fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • Java

    Description

      • If we use direct setting of fields, we can avoid the extra temporary buffer and memcpy by setting bytes directly.
      • We should overwrite existing vectors in consumers before returning results, to avoid the possibility of closing vectors in use (or alternatively make sure we retain the underlying buffers).
      • Try to eliminate some of the state in load() by moving initialization to the constructor.

      Attachments

        Issue Links

          Activity

            People

              tianchen92 Ji Liu
              emkornfield@gmail.com Micah Kornfield
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 4h 50m
                  4h 50m