{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T11:07:08Z","timestamp":1784200028028,"version":"3.55.0"},"reference-count":65,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA2","license":[{"start":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T00:00:00Z","timestamp":1759968000000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["CCF-1762299,CCF-1918889,CNS-1908304,CCF-1901376,CNS-2120696,CCF-2210831,CCF-2319471,CCF-2422130,CCF-2403211"],"award-info":[{"award-number":["CCF-1762299,CCF-1918889,CNS-1908304,CCF-1901376,CNS-2120696,CCF-2210831,CCF-2319471,CCF-2422130,CCF-2403211"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000185","name":"Defense Advanced Research Projects Agency","doi-asserted-by":"publisher","award":["HR00112590133"],"award-info":[{"award-number":["HR00112590133"]}],"id":[{"id":"10.13039\/100000185","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2025,10,9]]},"abstract":"<jats:p>\n                    Data processing frameworks like Apache Spark and Flink provide built-in support for user-defined aggregation functions (UDAFs), enabling the integration of domain-specific logic. However, for these frameworks to support\n                    <jats:italic toggle=\"yes\">efficient<\/jats:italic>\n                    UDAF execution, the function needs to satisfy a\n                    <jats:italic toggle=\"yes\">homomorphism property,<\/jats:italic>\n                    which ensures that partial results from independent computations can be merged correctly Motivated by this problem, this paper introduces a novel\n                    <jats:italic toggle=\"yes\">homomorphism calculus<\/jats:italic>\n                    that can both verify and refute whether a UDAF is a dataframe homomorphism. If so, our calculus also enables the construction of a corresponding merge operator which can be used for incremental computation and parallel execution. We have implemented an algorithm based on our proposed calculus and evaluate it on real-world UDAFs, demonstrating that our approach significantly outperforms two leading synthesizers.\n                  <\/jats:p>","DOI":"10.1145\/3763072","type":"journal-article","created":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T08:49:50Z","timestamp":1759999790000},"page":"615-641","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Homomorphism Calculus for User-Defined Aggregations"],"prefix":"10.1145","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0009-0001-8487-8093","authenticated-orcid":false,"given":"Ziteng","family":"Wang","sequence":"first","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5348-5468","authenticated-orcid":false,"given":"Ruijie","family":"Fang","sequence":"additional","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-9832-4066","authenticated-orcid":false,"given":"Linus","family":"Zheng","sequence":"additional","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3316-6651","authenticated-orcid":false,"given":"Dixin","family":"Tang","sequence":"additional","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8006-1230","authenticated-orcid":false,"given":"I\u015f\u0131l","family":"Dillig","sequence":"additional","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,10,9]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"[n.d.]. https:\/\/www.mysql.com\/"},{"key":"e_1_3_1_3_2","unstructured":"[n.d.]. https:\/\/learn.microsoft.com\/en-us\/sql\/"},{"key":"e_1_3_1_4_2","unstructured":"[n. d.]. https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/index.html"},{"key":"e_1_3_1_5_2","unstructured":"[n. d.]. Pandas - Python Data Analysis Library https:\/\/pandas.pydata.org\/."},{"key":"e_1_3_1_6_2","unstructured":"[n. d.]. The R Project for Statistical Computing https:\/\/www.r-project.org\/."},{"key":"e_1_3_1_7_2","unstructured":"[n. d.]. Snowflake Dataframes. https:\/\/docs.snowflake.com\/en\/developer-guide\/snowpark\/reference\/python\/latest\/snowpark\/dataframe."},{"key":"e_1_3_1_8_2","unstructured":"[n. d.]. Spark SQL DataFrames and Datasets Guide https:\/\/spark.apache.org\/docs\/latest\/sql-programming-guide.html."},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.14778\/2336664.2336670"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1109\/FMCAD.2013.6679385"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-99524-9_24"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/3639313"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-87374-4_1"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","unstructured":"Jos\u00e9 A. Blakeley Per- \u00c5ke Larson and Frank Wm. Tompa. 1986. Efficiently Updating Materialized Views. In Proceedings of the 1986 ACM SIGMOD International Conference on Management of Data Washington DC USA May 28-30 1986. 61\u201371. doi:10.1145\/16894.16861","DOI":"10.1145\/16894.16861"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.14778\/3587136.3587137"},{"issue":"4","key":"e_1_3_1_16_2","article-title":"Apache flink: Stream and batch processing in a single engine","volume":"38","author":"Carbone Paris","year":"2015","unstructured":"Paris Carbone, Asterios Katsifodimos, Stephan Ewen, Volker Marki, Seif Haridi, and Kostas Tzoumas. 2015. Apache flink: Stream and batch processing in a single engine. The Bulletin of the Technical Committee on Data Engineering 38, 4 (2015).","journal-title":"The Bulletin of the Technical Committee on Data Engineering"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.5555\/574107"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/2491956.2462180"},{"key":"e_1_3_1_19_2","doi-asserted-by":"crossref","unstructured":"Wei-Ngan Chin John Darlington and Yike Guo. 1996. Parallelizing conditional recurrences. In Euro-Par\u201996 Parallel Processing: Second International Euro-Par Conference Lyon France August 26-29 1996 Proceedings Volume 12. Springer 579\u2013586.","DOI":"10.1007\/3-540-61626-8_78"},{"key":"e_1_3_1_20_2","volume-title":"Parallel programming, list homomorphisms and the maximum segment sum problem","author":"Cole Murray","year":"1993","unstructured":"Murray Cole. 1993. Parallel programming, list homomorphisms and the maximum segment sum problem. Citeseer."},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/3656434"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2882926"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523726"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3062341.3062355"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314612"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3453483.3454089"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/2813885.2737977"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796800001908"},{"key":"e_1_3_1_29_2","doi-asserted-by":"crossref","unstructured":"Sumit Gulwani. 2011. Automating String Processing in Spreadsheets using Input-Output Examples. In PoPL\u2019ll January 26-28 2011 Austin Texas USA. https:\/\/www.microsoft.com\/en-us\/research\/publication\/automating-string-processing-spreadsheets-using-input-output-examples\/","DOI":"10.1145\/1926385.1926423"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","unstructured":"Ashish Gupta Inderpal Singh Mumick and V. S. Subrahmanian. 1993. Maintaining Views Incrementally. In Proceedings of the 1993 ACM SIGMOD International Conference on Management of Data Washington DC USA May 26-28 1993. 157\u2013166. doi:10.1145\/170035.170066","DOI":"10.1145\/170035.170066"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3389736"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/256167.256201"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","unstructured":"Zhenjiang Hu Hideya Iwasaki and Masato Takeichi. 1996. Construction of List Homomorphisms by Tupling and Fusion. 1113 (05 1996). doi:10.1007\/3-540-61550-4_166","DOI":"10.1007\/3-540-61550-4_166"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","unstructured":"Muhammad Idris Martin Ugarte and Stijn Vansummeren. 2017. The Dynamic Yannakakis Algorithm: Compact and Efficient Query Processing Under Updates. In Proceedings of the 2017 ACM International Conference on Management of Data SIGMOD Conference 2017 Chicago IL USA May 14-19 2017. 1259\u20131274. doi:10.1145\/3035918.3064027","DOI":"10.1145\/3035918.3064027"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1145\/1272998.1273005"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3022671.2983993"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.14778\/1978665.1978670"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/3656415"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","unstructured":"Ruyi Ji Yuwei Zhao Yingfei Xiong Di Wang Lu Zhang and Zhenjiang Hu. 2024. Decomposition-Based Synthesis for Applying Divide-and-Conquer-Like Algorithmic Paradigms. ACM Trans. Program. Lang. Syst. (feb 2024). doi:10.1145\/3648440 Just Accepted.","DOI":"10.1145\/3648440"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/3689737"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/2908080.2908117"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","unstructured":"Yannis Katsis Kian Win Ong Yannis Papakonstantinou and Kevin Keliang Zhao. 2015. Utilizing IDs to Accelerate Incremental View Maintenance. In Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data Melbourne Victoria Australia May 31 - June 4 2015. 1985\u20132000. doi:10.1145\/2723372.2750546","DOI":"10.1145\/2723372.2750546"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3517871"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/357084.357090"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498682"},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/2034574.2034824"},{"key":"e_1_3_1_47_2","doi-asserted-by":"publisher","unstructured":"Milos Nikolic Mohammad Dashti and Christoph Koch. 2016. How to Win a Hot Dog Eating Contest: Distributed Incremental View Maintenance with Batch Updates. In Proceedings of the 2016 International Conference on Management of Data SIGMOD Conference 2016 San Francisco CA USA June 26 - July 01 2016. 511\u2013526. doi:10.1145\/2882903.2915246","DOI":"10.1145\/2882903.2915246"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","unstructured":"Milos Nikolic Mohammed Elseidy and Christoph Koch. 2014. LINVIEW: incremental view maintenance for complex analytical queries. In International Conference on Management of Data SIGMOD 2014 Snowbird UT USA June 22-27 2014. 253\u2013264. doi:10.1145\/2588555.2610519","DOI":"10.1145\/2588555.2610519"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","unstructured":"Milos Nikolic and Dan Olteanu. 2018. Incremental View Maintenance with Triple Lock Factorization Benefits. In Proceedings of the 2018 International Conference on Management of Data SIGMOD Conference 2018 Houston TX USA June 10-15 2018. 365\u2013380. doi:10.1145\/3183713.3183758","DOI":"10.1145\/3183713.3183758"},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/3632870"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3186728.3164140"},{"key":"e_1_3_1_52_2","doi-asserted-by":"crossref","unstructured":"Salman Salloum Ruslan Dautov Xiaojun Chen Patrick Xiaogang Peng and Joshua Zhexue Huang. 2016. Big data analytics on Apache Spark. International Journal of Data Science and Analytics 1 (2016) 145\u2013164.","DOI":"10.1007\/s41060-016-0027-9"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2014.6816679"},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/2908080.2908102"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1145\/1168857.1168907"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1145\/2666356.2594305"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1109\/69.50912"},{"key":"e_1_3_1_58_2","doi-asserted-by":"publisher","DOI":"10.14778\/3384345.3384350"},{"key":"e_1_3_1_59_2","unstructured":"Ziteng Wang Ruijie Fang Linus Zheng Dixin Tang and Isil Dillig. 2025. Homomorphism Calculus for User-Defined Aggregations. arXiv:2508.15109 [cs.PL]. https:\/\/arxiv.org\/abs\/2508.15109"},{"key":"e_1_3_1_60_2","doi-asserted-by":"publisher","unstructured":"Ziteng Wang Ruijie Fang Linus Zheng Dixin Tang and Isil Dillig. 2025. Software Artifact for \u2018Homomorphism Calculus for User-Defined Aggregations\u2019. doi:10.5281\/zenodo.16915406","DOI":"10.5281\/zenodo.16915406"},{"key":"e_1_3_1_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/3656418"},{"key":"e_1_3_1_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/3589281"},{"key":"e_1_3_1_63_2","first-page":"15","volume-title":"Proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation, NSDI2012, San Jose, CA, USA, April 25-27, 2012","author":"Zaharia Matei","year":"2012","unstructured":"Matei Zaharia, Mosharaf Chowdhury, Tathagata Das, Ankur Dave, Justin Ma, Murphy McCauly, Michael J. Franklin, Scott Shenker, and Ion Stoica. 2012. Resilient Distributed Datasets: A Fault-Tolerant Abstraction for In-Memory Cluster Computing. In Proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation, NSDI2012, San Jose, CA, USA, April 25-27, 2012. Steven D. Gribble and Dina Katabi (Eds.). USENIX Association, 15\u201328. https:\/\/www.usenix.org\/conference\/nsdil2\/technical-sessions\/presentation\/zaharia"},{"key":"e_1_3_1_64_2","doi-asserted-by":"publisher","DOI":"10.1145\/3586047"},{"key":"e_1_3_1_65_2","doi-asserted-by":"publisher","DOI":"10.1145\/3485489"},{"key":"e_1_3_1_66_2","first-page":"295","volume-title":"Proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2012, San Jose, CA, USA, April 25-27, 2012","author":"Zhang Jiaxing","year":"2012","unstructured":"Jiaxing Zhang, Hucheng Zhou, Rishan Chen, Xuepeng Fan, Zhenyu Guo, Haoxiang Lin, Jack Li, Wei Lin, Jingren Zhou, and Lidong Zhou. 2012. Optimizing Data Shuffling in Data-Parallel Computation by Understanding User-Defined Functions. In Proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2012, San Jose, CA, USA, April 25-27, 2012. Steven D. Gribble and Dina Katabi (Eds.).USENIX Association, 295\u2013308. https:\/\/www.usenix.org\/conference\/nsdil2\/technical-sessions\/presentation\/zhang"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3763072","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3763072","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:08:30Z","timestamp":1784196510000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3763072"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,9]]},"references-count":65,"journal-issue":{"issue":"OOPSLA2","published-print":{"date-parts":[[2025,10,9]]}},"alternative-id":["10.1145\/3763072"],"URL":"https:\/\/doi.org\/10.1145\/3763072","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,9]]},"assertion":[{"value":"2025-03-24","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-12","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-10-09","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}