Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-14166

Improvements to RowWithGetter

Details

    • Improvement
    • Status: Open
    • P2
    • Resolution: Unresolved
    • None
    • None
    • sdk-java-core
    • None

    Description

      Various improvements to getValue(fieldIdx) in RowWithGetters mentioned here

      • Minimize memory overhead of cache using either a index lookup (array) or a single hash map if number of fields exceeds the initial hashmap capacity
      • The cache should be checked before calling a getter to avoid any potentially unnecessary conversion in the getter itself.
      • Nested rows should be cached, otherwise the cache of such nested rows can't be leveraged.
      • Handling of collections / maps / iterables can be significantly improved by simply skipping the transform in all cases where getValue for members is the identity transform

      Attachments

        Issue Links

          Activity

            People

              mosche Moritz Mack
              mosche Moritz Mack
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 20m
                  4h 20m