{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T08:14:24Z","timestamp":1790410464347,"version":"4.1.0"},"reference-count":23,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2016,6,2]],"date-time":"2016-06-02T00:00:00Z","timestamp":1464825600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["SIGMOD Rec."],"published-print":{"date-parts":[[2016,6,2]]},"abstract":"<jats:p>Parallel collection processing based on second-order functions such as map and reduce has been widely adopted for scalable data analysis. Initially popularized by Google, over the past decade this programming paradigm has found its way in the core APIs of parallel dataflow engines such as Hadoop's MapReduce, Spark's RDDs, and Flink's DataSets. We review programming patterns typical of these APIs and discuss how they relate to the underlying parallel execution model. We argue that fixing the abstraction leaks exposed by these patterns will reduce the cost of data analysis due to improved programmer productivity. To achieve that, we first revisit the algebraic foundations of parallel collection processing. Based on that, we propose a simplified API that (i) provides proper support for nested collection processing and (ii) alleviates the need of certain second-order primitives through comprehensions -- a declarative syntax akin to SQL. Finally, we present a metaprogramming pipeline that performs algebraic rewrites and physical optimizations which allow us to target parallel dataflow engines like Spark and Flink with competitive performance.<\/jats:p>","DOI":"10.1145\/2949741.2949754","type":"journal-article","created":{"date-parts":[[2016,6,3]],"date-time":"2016-06-03T12:14:26Z","timestamp":1464956066000},"page":"51-58","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":14,"title":["Implicit Parallelism through Deep Language Embedding"],"prefix":"10.1145","volume":"45","author":[{"given":"Alexander","family":"Alexandrov","sequence":"first","affiliation":[{"name":"TU Berlin"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Asterios","family":"Katsifodimos","sequence":"additional","affiliation":[{"name":"TU Berlin"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Georgi","family":"Krastev","sequence":"additional","affiliation":[{"name":"TU Berlin"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Volker","family":"Markl","sequence":"additional","affiliation":[{"name":"TU Berlin"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2016,6,2]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Cascading Project. http:\/\/www.cascading.org\/. Cascading Project. http:\/\/www.cascading.org\/."},{"key":"e_1_2_1_2_1","unstructured":"Emma Language. http:\/\/www.emma-language.org\/. Emma Language. http:\/\/www.emma-language.org\/."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-014-0357-y"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2750543"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.14778\/3402755.3402761"},{"key":"e_1_2_1_6_1","volume-title":"The Algebra of Programming","author":"Bird R.","year":"1997","unstructured":"R. Bird and O. de Moor . The Algebra of Programming . Prentice Hall , 1997 . R. Bird and O. de Moor. The Algebra of Programming. Prentice Hall, 1997."},{"key":"e_1_2_1_7_1","volume-title":"Xquery 1.0: An XML query language","author":"Boag S.","year":"2002","unstructured":"S. Boag , D. Chamberlin , M. F. Fern\u00e1ndez , D. Florescu , J. Robie , J. Sim\u00e9on , and M. Stefanescu . Xquery 1.0: An XML query language , 2002 . S. Boag, D. Chamberlin, M. F. Fern\u00e1ndez, D. Florescu, J. Robie, J. Sim\u00e9on, and M. Stefanescu. Xquery 1.0: An XML query language, 2002."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(95)00024-Q"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.14778\/1454159.1454166"},{"key":"e_1_2_1_10_1","first-page":"581","volume-title":"IFIP Congress (1)","author":"Gill A. J.","year":"1994","unstructured":"A. J. Gill and S. L. P. Jones . Cheap deforestation in practice: An optimizer for haskell . In IFIP Congress (1) , pages 581 -- 586 , 1994 . A. J. Gill and S. L. P. Jones. Cheap deforestation in practice: An optimizer for haskell. In IFIP Congress (1), pages 581--586, 1994."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.5555\/645478.757691"},{"key":"e_1_2_1_12_1","doi-asserted-by":"crossref","unstructured":"T. Grust. Comprehending Queries (PhD Thesis). PhD thesis Universit\u00e4t Konstanz 1999. T. Grust. Comprehending Queries (PhD Thesis). PhD thesis Universit\u00e4t Konstanz 1999.","DOI":"10.1007\/978-3-322-84823-9_7"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559982"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/582353.582402"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/1596550.1596551"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/125223.125244"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129500000190"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1142473.1142552"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1868294.1868314"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/582095.582099"},{"key":"e_1_2_1_21_1","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"crossref","first-page":"111","DOI":"10.1007\/3-540-58907-4_10","volume-title":"ICDT","author":"Suciu D.","year":"1995","unstructured":"D. Suciu and L. Wong . On two forms of structural recursion . In ICDT , volume 893 of Lecture Notes in Computer Science , pages 111 -- 124 . Springer , 1995 . D. Suciu and L. Wong. On two forms of structural recursion. In ICDT, volume 893 of Lecture Notes in Computer Science, pages 111--124. Springer, 1995."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2735359"},{"key":"e_1_2_1_23_1","volume-title":"E. M. Nahum and D. Xu","author":"Zaharia M.","year":"2010","unstructured":"M. Zaharia , M. Chowdhury , M. J. Franklin , S. Shenker , and I. Stoica . Spark: Cluster Computing with Working Sets . In E. M. Nahum and D. Xu , editors, HotCloud. USENIX , 2010 . M. Zaharia, M. Chowdhury, M. J. Franklin, S. Shenker, and I. Stoica. Spark: Cluster Computing with Working Sets. In E. M. Nahum and D. Xu, editors, HotCloud. USENIX, 2010."}],"container-title":["ACM SIGMOD Record"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2949741.2949754","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2949741.2949754","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:56:00Z","timestamp":1750222560000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2949741.2949754"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,6,2]]},"references-count":23,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2016,6,2]]}},"alternative-id":["10.1145\/2949741.2949754"],"URL":"https:\/\/doi.org\/10.1145\/2949741.2949754","relation":{},"ISSN":["0163-5808"],"issn-type":[{"value":"0163-5808","type":"print"}],"subject":[],"published":{"date-parts":[[2016,6,2]]},"assertion":[{"value":"2016-06-02","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}