{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,11]],"date-time":"2026-11-11T11:31:16Z","timestamp":1794396676858,"version":"4.9.0"},"reference-count":103,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2017,5,26]],"date-time":"2017-05-26T00:00:00Z","timestamp":1495756800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100001659","name":"German Research Foundation","doi-asserted-by":"crossref","award":["FOR 1306"],"award-info":[{"award-number":["FOR 1306"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Comput. Surv."],"published-print":{"date-parts":[[2018,5,31]]},"abstract":"<jats:p>In many fields, recent years have brought a sharp rise in the size of the data to be analyzed and the complexity of the analysis to be performed. Such analyses are often described as dataflows specified in declarative dataflow languages. A key technique to achieve scalability for such analyses is the optimization of the declarative programs; however, many real-life dataflows are dominated by user-defined functions (UDFs) to perform, for instance, text analysis, graph traversal, classification, or clustering. This calls for specific optimization techniques as the semantics of such UDFs are unknown to the optimizer.<\/jats:p>\n          <jats:p>In this article, we survey techniques for optimizing dataflows with UDFs. We consider methods developed over decades of research in relational database systems as well as more recent approaches spurred by the popularity of Map\/Reduce-style data processing frameworks. We present techniques for syntactical dataflow modification, approaches for inferring semantics and rewrite options for UDFs, and methods for dataflow transformations both on the logical and the physical levels. Furthermore, we give a comprehensive overview on declarative dataflow languages for Big Data processing systems from the perspective of their build-in optimization techniques. Finally, we highlight open research challenges with the intention to foster more research into optimizing dataflows that contain UDFs.<\/jats:p>","DOI":"10.1145\/3078752","type":"journal-article","created":{"date-parts":[[2017,5,31]],"date-time":"2017-05-31T19:32:40Z","timestamp":1496259160000},"page":"1-39","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":28,"title":["Optimization of Complex Dataflows with User-Defined Functions"],"prefix":"10.1145","volume":"50","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2042-8720","authenticated-orcid":false,"given":"Astrid","family":"Rheinl\u00e4nder","sequence":"first","affiliation":[{"name":"Humboldt-Universit\u00e4t zu Berlin, Berlin, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ulf","family":"Leser","sequence":"additional","affiliation":[{"name":"Humboldt-Universit\u00e4t zu Berlin, Berlin, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Goetz","family":"Graefe","sequence":"additional","affiliation":[{"name":"Google, Madison WI, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,5,26]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Proceedings of the International Workshop on End-to-end Management of Big Data (BigData\u201912)","author":"Ackermann Stefan","year":"2012"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732977.2732987"},{"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\/3007263.3007315"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.14778\/2733085.2733096"},{"key":"e_1_2_1_7_1","volume-title":"Retrieved","year":"2014"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.1983.236170"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742797"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335420"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10723-016-9371-1"},{"key":"e_1_2_1_12_1","volume-title":"Proceedings of the 6th TPC Technology Conference (TPCTC\u201914)","author":"Barnawi Ahmed","year":"2014"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10586-015-0472-6"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807128.1807148"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1137\/0210059"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/319628.319650"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/2043174.2043190"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/3402755.3402761"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807167.1807273"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/362686.362692"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2011.5767921"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/2806777.2806941"},{"key":"e_1_2_1_23_1","unstructured":"Anthony Peter Graham Brown. 1998. Optimization of the order in which the comparisons of the components of a Boolean query expression are applied to a database record stored as a byte stream.  Anthony Peter Graham Brown. 1998. Optimization of the order in which the comparisons of the components of a Boolean query expression are applied to a database record stored as a byte stream."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/1859127.1859141"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1109\/BigData.2015.7363753"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.14778\/1454159.1454166"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276336"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.14778\/3402755.3402765"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/275487.275492"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/320248.320249"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/191839.191872"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/115372.115320"},{"key":"e_1_2_1_34_1","volume-title":"Proceedings of the 6th USENIX Symposium on Operating System Design and Implementation (OSDI\u201904)","author":"Dean Jeffrey","year":"2004"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-013-0319-9"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2014.2326416"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/38714.38723"},{"key":"e_1_2_1_38_1","first-page":"34","article-title":"Apache pig\u2019s optimizer","volume":"36","author":"Gates Alan","year":"2013","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2463712"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/1071610.1071614"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/69.273032"},{"key":"e_1_2_1_42_1","first-page":"19","article-title":"The cascades framework for query optimization","volume":"18","author":"Graefe Goetz","year":"1995","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_1_43_1","volume-title":"Encyclopedia of Database Systems, Ling Liu and M. Tamer \u00d6Zsu (Eds.)","author":"Graefe Goetz","year":"2030"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1009726021843"},{"key":"e_1_2_1_45_1","volume-title":"Proceedings of the 10th USENIX Symposium on Operating Systems Design and Implementation (OSDI\u201912)","author":"Guo Zhenyu","year":"2012"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732977.2732980"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/359581.359600"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1089\/big.2013.0011"},{"key":"e_1_2_1_49_1","volume-title":"Proceedings of the International Workshop on End-to-end Management of Big Data (BigData\u201912)","author":"Heise Arvid","year":"2012"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/292481.277627"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/233269.233359"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1038\/455047a"},{"key":"e_1_2_1_53_1","volume-title":"Enabling operator reordering in data flow programs through static code analysis. CoRR abs\/1301.4200","author":"Hueske Fabian","year":"2013"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.14778\/2350229.2350244"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/234313.234367"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559962"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/1536616.1536632"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.14778\/1978665.1978670"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/319732.319745"},{"key":"e_1_2_1_60_1","volume-title":"Proceedings of the 7th Biennial Conference on Innovative Data Systems (CIDR\u201915)","author":"Kornacker Marcel","year":"2015"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/371578.371598"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-40131-2_2"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/2094114.2094118"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1145\/2503009"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/50202.50204"},{"key":"e_1_2_1_66_1","volume-title":"Proceedings of the 11th International Conference on Very Large Data Bases (VLDB\u201985)","author":"Lu Hongjun"},{"key":"e_1_2_1_67_1","volume-title":"Proceedings of the 12th International Conference on Very Large Data Bases (VLDB\u201986)","author":"Lothar"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.1038\/498255a"},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1145\/1142473.1142552"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.14778\/1920841.1920886"},{"key":"e_1_2_1_71_1","doi-asserted-by":"publisher","DOI":"10.1038\/218019a0"},{"key":"e_1_2_1_72_1","volume-title":"MapReduce Design Patterns: Building Effective Algorithms and Analytics for Hadoop and Other Systems. O\u2019Reilly Media","author":"Miner Donald"},{"key":"e_1_2_1_73_1","doi-asserted-by":"publisher","DOI":"10.1109\/MAHC.1980.10029"},{"key":"e_1_2_1_74_1","doi-asserted-by":"publisher","DOI":"10.1145\/1993498.1993513"},{"key":"e_1_2_1_76_1","volume-title":"Encyclopedia of Database Systems, Ling Liu and M","author":"Neumann Thomas"},{"key":"e_1_2_1_77_1","doi-asserted-by":"publisher","DOI":"10.1002\/cpe.3032"},{"key":"e_1_2_1_78_1","doi-asserted-by":"publisher","DOI":"10.14778\/3402755.3402766"},{"key":"e_1_2_1_79_1","doi-asserted-by":"publisher","DOI":"10.1145\/1376616.1376726"},{"key":"e_1_2_1_80_1","volume-title":"Principles of Distributed Database Systems","author":"Tamer \u00d6zsu M.","edition":"2"},{"key":"e_1_2_1_81_1","doi-asserted-by":"publisher","DOI":"10.1155\/2005\/962135"},{"key":"e_1_2_1_82_1","volume-title":"Proceedings of the 3rd Hungarian Computer Science Conference, Akademiai Kiado.","author":"Reichel Horst","year":"1984"},{"key":"e_1_2_1_83_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.is.2015.04.002"},{"key":"e_1_2_1_84_1","doi-asserted-by":"publisher","DOI":"10.1109\/SYNASC.2014.65"},{"key":"e_1_2_1_85_1","doi-asserted-by":"publisher","DOI":"10.1145\/2522968.2522979"},{"key":"e_1_2_1_86_1","doi-asserted-by":"publisher","DOI":"10.14778\/2535570.2488334"},{"key":"e_1_2_1_87_1","doi-asserted-by":"publisher","DOI":"10.1145\/582095.582099"},{"key":"e_1_2_1_88_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2012.106"},{"key":"e_1_2_1_89_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2005.103"},{"key":"e_1_2_1_90_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213836.2213963"},{"key":"e_1_2_1_91_1","doi-asserted-by":"publisher","DOI":"10.1145\/233269.233320"},{"key":"e_1_2_1_92_1","doi-asserted-by":"publisher","DOI":"10.5555\/1182635.1164159"},{"key":"e_1_2_1_93_1","doi-asserted-by":"publisher","DOI":"10.5555\/645484.757707"},{"key":"e_1_2_1_94_1","doi-asserted-by":"publisher","DOI":"10.1145\/1629175.1629197"},{"key":"e_1_2_1_95_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687609"},{"key":"e_1_2_1_96_1","doi-asserted-by":"publisher","DOI":"10.1145\/22952.22955"},{"key":"e_1_2_1_97_1","doi-asserted-by":"publisher","DOI":"10.1145\/1651291.1651297"},{"key":"e_1_2_1_98_1","doi-asserted-by":"publisher","DOI":"10.1145\/2063576.2063935"},{"key":"e_1_2_1_99_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2013.109"},{"key":"e_1_2_1_100_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2465288"},{"key":"e_1_2_1_101_1","doi-asserted-by":"publisher","DOI":"10.5555\/645479.655113"},{"key":"e_1_2_1_102_1","volume-title":"Proceedings of the 21th International Conference on Very Large Data Bases (VLDB\u201995)","author":"Weipeng"},{"key":"e_1_2_1_103_1","volume-title":"Proceedings of the 8th USENIX Symposium on Operating Systems Design and Implementation (OSDI\u201908)","author":"Yu Yuan","year":"2008"},{"key":"e_1_2_1_104_1","volume-title":"Proceedings of the 2nd USENIX Conference on Hot Topics in Cloud Computing (HotCloud\u201910)","author":"Zaharia Matei","year":"2010"},{"key":"e_1_2_1_105_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-012-0280-z"}],"container-title":["ACM Computing Surveys"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3078752","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3078752","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T03:30:32Z","timestamp":1750217432000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3078752"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,5,26]]},"references-count":103,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2018,5,31]]}},"alternative-id":["10.1145\/3078752"],"URL":"https:\/\/doi.org\/10.1145\/3078752","relation":{},"ISSN":["0360-0300","1557-7341"],"issn-type":[{"value":"0360-0300","type":"print"},{"value":"1557-7341","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,5,26]]},"assertion":[{"value":"2016-11-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-04-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-05-26","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}