Glenn Galvizo created ASTERIXDB-2831:
----------------------------------------

             Summary: Use a More Selective Approach to Array Index UPSERTs
                 Key: ASTERIXDB-2831
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2831
             Project: Apache AsterixDB
          Issue Type: Improvement
            Reporter: Glenn Galvizo


Array indexes currently perform UPSERTs by unconditionally deleting the old 
array contents and inserting the new array contents. A "merge-join" inspired 
approach could be used here instead, where we iterate through the already 
sorted old and new arrays, compare the elements at each step, and selectively 
perform an insert / delete. 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to