Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4011

Allow combiners reduce to return null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Opening based on discussion from PR 47. If the reduce function in a combiner could return null to indicate that data should be dropped, this could offer a solution to ACCUMULO-2232.

      For example assume someone was using a summing combiner and wanted to delete a column with a current value of 18. They could insert -18. If the combiner returned null when everything summed to 0, this would delete the row col. This method of deleting data would safe during partial compactions and would work correctly with new data being inserted after the -18 was inserted.

      If this done, needs to be done in a way that is compatible with existing combiners.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: