Scalable Querying of Nested Data

Jaclyn Smith, Michael Benedikt, Milos Nikolic, Amir Shaikhha
11/12/2020
cs.DB

Official code: trance-project/trance (12 stars, Scala, last commit 2024-04-30).

Abstract

While large-scale distributed data processing platforms have become an attractive target for query processing, these systems are problematic for applications that deal with nested collections. Programmers are forced either to perform non-trivial translations of collection programs or to employ automated flattening procedures, both of which lead to performance problems.

Show full abstract

These challenges only worsen for nested collections with skewed cardinalities, where both handcrafted rewriting and automated flattening are unable to enforce load balancing across partitions. In this work, we propose a framework that translates a program manipulating nested collections into a set of semantically equivalent shredded queries that can be efficiently evaluated. The framework employs a combination of query compilation techniques, an efficient data representation for nested collections, and automated skew-handling. We provide an extensive experimental evaluation, demonstrating significant improvements provided by the framework in diverse scenarios for nested collection programs.

View on arXivView PDF

Code Implementations(1)

122Scala, ShellDec 12, 20182 years agoNOASSERTION

Similar Papers

Cite this paper

@article{smith2020scalable,
  title  = {Scalable Querying of Nested Data},
  author = {Jaclyn Smith and Michael Benedikt and Milos Nikolic and Amir Shaikhha},
  year   = {2020},
  eprint = {2011.06381},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.06381}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.06381.svg)](https://codeofpaper.com/paper/2011.06381)

Discussion