amplab/shark — pull request #78 by harveyfeng (2012-11-26 21:54:19+00:00)
Title: Support 'insert' updates for cached tables (Shark-93)

For "insert into" commands, a UnionRDD combines the "select" query output with the table RDD being updated. For "insert overwrite", the output RDD replaces the old one in CacheManager.

Included tests:
- "insert into" on a single cached table
- "insert overwrite" on a single cached table
- "insert" on multiple cached tables
- "insert" on a mix of cached and on-disk tables