{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,19]],"date-time":"2026-03-19T02:23:56Z","timestamp":1773887036639,"version":"3.50.1"},"reference-count":20,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2022,8]]},"abstract":"<jats:p>We demonstrate Tensor Query Processor (TQP): a query processor that automatically compiles relational operators into tensor programs. By leveraging tensor runtimes such as PyTorch, TQP is able to: (1) integrate with ML tools (e.g., Pandas for data ingestion, Tensorboard for visualization); (2) target different hardware (e.g., CPU, GPU) and software (e.g., browser) backends; and (3) end-to-end accelerate queries containing both relational and ML operators. TQP is generic enough to supports the TPC-H benchmark, and it provides performance that are comparable to, and often better than, that of specialized CPU and GPU query processors.<\/jats:p>","DOI":"10.14778\/3554821.3554853","type":"journal-article","created":{"date-parts":[[2022,9,29]],"date-time":"2022-09-29T22:28:39Z","timestamp":1664490519000},"page":"3598-3601","source":"Crossref","is-referenced-by-count":13,"title":["Share the tensor tea"],"prefix":"10.14778","volume":"15","author":[{"given":"Yuki","family":"Asada","sequence":"first","affiliation":[{"name":"Microsoft"}]},{"given":"Victor","family":"Fu","sequence":"additional","affiliation":[{"name":"Microsoft"}]},{"given":"Apurva","family":"Gandhi","sequence":"additional","affiliation":[{"name":"Microsoft"}]},{"given":"Advitya","family":"Gemawat","sequence":"additional","affiliation":[{"name":"Microsoft"}]},{"given":"Lihao","family":"Zhang","sequence":"additional","affiliation":[{"name":"Microsoft"}]},{"given":"Dong","family":"He","sequence":"additional","affiliation":[{"name":"University of Washington"}]},{"given":"Vivek","family":"Gupta","sequence":"additional","affiliation":[{"name":"Microsoft"}]},{"given":"Ehi","family":"Nosakhare","sequence":"additional","affiliation":[{"name":"Microsoft"}]},{"given":"Dalitso","family":"Banda","sequence":"additional","affiliation":[{"name":"Microsoft"}]},{"given":"Rathijit","family":"Sen","sequence":"additional","affiliation":[{"name":"Microsoft"}]},{"given":"Matteo","family":"Interlandi","sequence":"additional","affiliation":[{"name":"Microsoft"}]}],"member":"320","published-online":{"date-parts":[[2022,9,29]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Mart\u00edn Abadi and etal 2016. TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems. CoRR abs\/1603.04467 (2016).  Mart\u00edn Abadi and et al. 2016. TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems. CoRR abs\/1603.04467 (2016)."},{"key":"e_1_2_1_2_1","unstructured":"Ashvin Agrawal and etal 2019. Cloudy with high chance of DBMS: A 10-year prediction for Enterprise-Grade ML. arXiv e-prints (2019). arXiv:1909.00084  Ashvin Agrawal and et al. 2019. Cloudy with high chance of DBMS: A 10-year prediction for Enterprise-Grade ML. arXiv e-prints (2019). arXiv:1909.00084"},{"key":"e_1_2_1_3_1","unstructured":"Apache Arrow. 2022. Apache Arrow. https:\/\/arrow.apache.org\/docs\/index.html  Apache Arrow. 2022. Apache Arrow. https:\/\/arrow.apache.org\/docs\/index.html"},{"key":"e_1_2_1_4_1","unstructured":"BlazingSQL. 2020. https:\/\/blazingsql.com\/  BlazingSQL. 2020. https:\/\/blazingsql.com\/"},{"key":"e_1_2_1_5_1","unstructured":"Datafiniti. 2019. Consumer Reviews of Amazon Products. https:\/\/www.kaggle.com\/datafiniti\/consumer-reviews-of-amazon-products  Datafiniti. 2019. Consumer Reviews of Amazon Products. https:\/\/www.kaggle.com\/datafiniti\/consumer-reviews-of-amazon-products"},{"key":"e_1_2_1_6_1","unstructured":"Jeffrey Dean. 2019. The Deep Learning Revolution and Its Implications for Computer Architecture and Chip Design. arXiv:1911.05289 [cs.LG]  Jeffrey Dean. 2019. The Deep Learning Revolution and Its Implications for Computer Architecture and Chip Design. arXiv:1911.05289 [cs.LG]"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1111\/j.1469-1809.1936.tb02137.x"},{"key":"e_1_2_1_8_1","volume-title":"Query Processing on Tensor Computation Runtimes. Proc. VLDB Endow. 15","author":"Dong","year":"2022","unstructured":"Dong He and et al. 2022 . Query Processing on Tensor Computation Runtimes. Proc. VLDB Endow. 15 , 12 ( 2022 ). Dong He and et al. 2022. Query Processing on Tensor Computation Runtimes. Proc. VLDB Endow. 15, 12 (2022)."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.14778\/3467861.3467869"},{"key":"e_1_2_1_10_1","unstructured":"Microsoft. 2021. PREDICT in T-SQL. https:\/\/docs.microsoft.com\/en-us\/sql\/t-sql\/queries\/predict-transact-sql?view=sql-server-ver15  Microsoft. 2021. PREDICT in T-SQL. https:\/\/docs.microsoft.com\/en-us\/sql\/t-sql\/queries\/predict-transact-sql?view=sql-server-ver15"},{"key":"e_1_2_1_11_1","unstructured":"Microsoft. 2022. ORT Web. https:\/\/cloudblogs.microsoft.com\/opensource\/onnx-runtime-web-running-your-machine-learning-model-in-browser\/  Microsoft. 2022. ORT Web. https:\/\/cloudblogs.microsoft.com\/opensource\/onnx-runtime-web-running-your-machine-learning-model-in-browser\/"},{"key":"e_1_2_1_12_1","unstructured":"Supun Nakandala and etal 2020. A Tensor Compiler for Unified Machine Learning Prediction Serving. In OSDI. 899--917.  Supun Nakandala and et al. 2020. A Tensor Compiler for Unified Machine Learning Prediction Serving. In OSDI. 899--917."},{"key":"e_1_2_1_13_1","unstructured":"The pandas development team. 2020. pandas-dev\/pandas: Pandas.  The pandas development team. 2020. pandas-dev\/pandas: Pandas."},{"key":"e_1_2_1_14_1","volume-title":"End-to-end Optimization of Machine Learning Prediction Queries. In SIGMOD '22","author":"Kwanghyun","unstructured":"Kwanghyun Park and et al. 2022 . End-to-end Optimization of Machine Learning Prediction Queries. In SIGMOD '22 . 587--601. Kwanghyun Park and et al. 2022. End-to-end Optimization of Machine Learning Prediction Queries. In SIGMOD '22. 587--601."},{"key":"e_1_2_1_15_1","unstructured":"Adam Paszke and etal 2017. Automatic differentiation in PyTorch. In NIPS.  Adam Paszke and et al. 2017. Automatic differentiation in PyTorch. In NIPS."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.5555\/1953048.2078195"},{"key":"e_1_2_1_17_1","unstructured":"Statista. 2022. AI hardware market revenues. https:\/\/www.statista.com\/statistics\/1003890\/worldwide-artificial-intelligence-hardware-market-revenues\/  Statista. 2022. AI hardware market revenues. https:\/\/www.statista.com\/statistics\/1003890\/worldwide-artificial-intelligence-hardware-market-revenues\/"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1109\/MCSE.2011.37"},{"key":"e_1_2_1_19_1","volume-title":"Transformers: State-of-the-art natural language processing. In EMNLP. 38--45.","author":"Wolf Thomas","year":"2020","unstructured":"Thomas Wolf and 2020 . Transformers: State-of-the-art natural language processing. In EMNLP. 38--45. Thomas Wolf and et al. 2020. Transformers: State-of-the-art natural language processing. In EMNLP. 38--45."},{"key":"e_1_2_1_20_1","unstructured":"Matei Zaharia and etal 2012. Resilient distributed datasets: a fault-tolerant abstraction for in-memory cluster computing. In NSDI.  Matei Zaharia and et al. 2012. Resilient distributed datasets: a fault-tolerant abstraction for in-memory cluster computing. In NSDI."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3554821.3554853","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:31:14Z","timestamp":1672227074000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3554821.3554853"}},"subtitle":["how databases can leverage the machine learning ecosystem"],"short-title":[],"issued":{"date-parts":[[2022,8]]},"references-count":20,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2022,8]]}},"alternative-id":["10.14778\/3554821.3554853"],"URL":"https:\/\/doi.org\/10.14778\/3554821.3554853","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2022,8]]}}}