Movatterモバイル変換


[0]ホーム

URL:


US20180203900A1 - Transforming a user-defined table function to a derived table in a database management system - Google Patents

Transforming a user-defined table function to a derived table in a database management system
Download PDF

Info

Publication number
US20180203900A1
US20180203900A1US15/858,408US201715858408AUS2018203900A1US 20180203900 A1US20180203900 A1US 20180203900A1US 201715858408 AUS201715858408 AUS 201715858408AUS 2018203900 A1US2018203900 A1US 2018203900A1
Authority
US
United States
Prior art keywords
query
udtf
derived table
derived
statements
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US15/858,408
Inventor
Craig S. Aldrich
Stephanie A. Burrichter
Scott P. Hanson
Rafal P. Konik
Roger A. Mittelstadt
Jane A. VOLD
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines CorpfiledCriticalInternational Business Machines Corp
Priority to US15/858,408priorityCriticalpatent/US20180203900A1/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATIONreassignmentINTERNATIONAL BUSINESS MACHINES CORPORATIONASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS).Assignors: VOLD, JANE A., ALDRICH, CRAIG S., BURRICHTER, STEPHANIE A., HANSON, SCOTT P., KONIK, RAFAL P., MITTELSTADT, ROGER A.
Publication of US20180203900A1publicationCriticalpatent/US20180203900A1/en
Assigned to ALIBABA GROUP HOLDING LIMITEDreassignmentALIBABA GROUP HOLDING LIMITEDASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS).Assignors: INTERNATIONAL BUSINESS MACHINES CORPORATION
Assigned to ALIBABA GROUP HOLDING LIMITEDreassignmentALIBABA GROUP HOLDING LIMITEDASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS).Assignors: INTERNATIONAL BUSINESS MACHINES CORPORATION
Abandonedlegal-statusCriticalCurrent

Links

Images

Classifications

Definitions

Landscapes

Abstract

Disclosed aspects relate to transforming a user-defined table function (UDTF) to a derived table in a database management system (DBMS). It may be detected by the DBMS that a query indicates the UDTF. A derived table may be constructed from the UDTF. The derived table may be derived from a set of statements of the UDTF. The derived table may be introduced to the query to fulfill the UDTF. A query plan may be generated for the query by the DBMS. The query plan may be generated in response to introducing the derived table in the query.

Description

Claims (1)

What is claimed is:
1. A computer-implemented method for transforming a user-defined table function (UDTF) to a derived table in a database management system (DBMS), the method comprising:
detecting, by the DBMS, that a query indicates the UDTF;
constructing, from the UDTF, a derived table which is derived from a set of statements of the UDTF;
unwrapping the set of statements of the UDTF, wherein the unwrapping comprises:
examining the set of statements of the UDTF; and
retrieving a set of data indicated by the set of statements of the UDTF;
introducing, to the query, the derived table to fulfill the UDTF, wherein, the derived table is introduced as a laterally correlated derived table, the introducing comprising:
structuring the set of statements of the UDTF based on a query definition template; and
integrating the set of statements of the UDTF into the query as a subquery;
revising, in response to introducing the derived table to the query, the query using the derived table to streamline performance of the query; and
generating, by the DBMS in response to introducing the derived table in the query, a query plan for the query.
US15/858,4082017-01-142017-12-29Transforming a user-defined table function to a derived table in a database management systemAbandonedUS20180203900A1 (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
US15/858,408US20180203900A1 (en)2017-01-142017-12-29Transforming a user-defined table function to a derived table in a database management system

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
US15/406,678US10558662B2 (en)2017-01-142017-01-14Transforming a user-defined table function to a derived table in a database management system
US15/858,408US20180203900A1 (en)2017-01-142017-12-29Transforming a user-defined table function to a derived table in a database management system

Related Parent Applications (1)

Application NumberTitlePriority DateFiling Date
US15/406,678ContinuationUS10558662B2 (en)2017-01-142017-01-14Transforming a user-defined table function to a derived table in a database management system

Publications (1)

Publication NumberPublication Date
US20180203900A1true US20180203900A1 (en)2018-07-19

Family

ID=62841401

Family Applications (4)

Application NumberTitlePriority DateFiling Date
US15/406,678Active2038-01-28US10558662B2 (en)2017-01-142017-01-14Transforming a user-defined table function to a derived table in a database management system
US15/858,408AbandonedUS20180203900A1 (en)2017-01-142017-12-29Transforming a user-defined table function to a derived table in a database management system
US16/388,477Active2037-02-03US10846291B2 (en)2017-01-142019-04-18Transforming a user-defined table function to a derived table in a database management system
US16/565,865Active2037-10-08US11354313B2 (en)2017-01-142019-09-10Transforming a user-defined table function to a derived table in a database management system

Family Applications Before (1)

Application NumberTitlePriority DateFiling Date
US15/406,678Active2038-01-28US10558662B2 (en)2017-01-142017-01-14Transforming a user-defined table function to a derived table in a database management system

Family Applications After (2)

Application NumberTitlePriority DateFiling Date
US16/388,477Active2037-02-03US10846291B2 (en)2017-01-142019-04-18Transforming a user-defined table function to a derived table in a database management system
US16/565,865Active2037-10-08US11354313B2 (en)2017-01-142019-09-10Transforming a user-defined table function to a derived table in a database management system

Country Status (1)

CountryLink
US (4)US10558662B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111488360B (en)*2020-04-142023-04-18上海达梦数据库有限公司Line-level security realization method, device, equipment and storage medium
US11347527B1 (en)*2021-06-072022-05-31Snowflake Inc.Secure table-valued functions in a cloud database
US11977539B1 (en)*2023-05-092024-05-07SnowBuilder.io, LLCSystems and methods for generation and management of SQL data definition and data manipulation statements via serially reusable metadata
CN119782358A (en)*2025-03-102025-04-08天津南大通用数据技术股份有限公司 A method for detecting rationality of join query optimization

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5930795A (en)1997-01-211999-07-27International Business Machines CorporationSupporting dynamic tables in SQL query compilers
US5822750A (en)1997-06-301998-10-13International Business Machines CorporationOptimization of correlated SQL queries in a relational database management system
US6826562B1 (en)1999-11-292004-11-30International Business Machines CorporationMethod of simplifying and optimizing scalar subqueries and derived tables that return exactly or at most one tuple
US8032546B2 (en)2008-02-152011-10-04Microsoft Corp.Transformation-based framework for record matching
US20120078860A1 (en)2010-09-292012-03-29Teradata Us, Inc.Algorithmic compression via user-defined functions
US9355145B2 (en)2011-01-252016-05-31Hewlett Packard Enterprise Development LpUser defined function classification in analytical data processing systems
US9582539B1 (en)*2012-05-042017-02-28Paraccel, Inc.Optimizing database queries using reusable subqueries
WO2015030767A1 (en)2013-08-292015-03-05Hewlett-Packard Development Company, L.P.Queries involving multiple databases and execution engines
US10191943B2 (en)2014-01-312019-01-29Indian Institute Of Technology BombayDecorrelation of user-defined function invocations in queries
WO2015137919A1 (en)2014-03-102015-09-17Hewlett-Packard Development Company, L.P.Parallelizing sql user defined transformation functions
US9619537B2 (en)2014-04-152017-04-11Sap SeConverting data objects from single- to multi-source database environment
US9454571B2 (en)*2014-06-262016-09-27Sap SeOptimization of parallelization of user-defined functions with flexible partitioning
US20160125023A1 (en)*2014-11-052016-05-05Unisys CorporationDerived table join processing
WO2017027015A1 (en)*2015-08-112017-02-16Hewlett Packard Enterprise Development LpDistribute execution of user-defined function

Also Published As

Publication numberPublication date
US10846291B2 (en)2020-11-24
US20190243833A1 (en)2019-08-08
US20180203898A1 (en)2018-07-19
US11354313B2 (en)2022-06-07
US10558662B2 (en)2020-02-11
US20200004750A1 (en)2020-01-02

Similar Documents

PublicationPublication DateTitle
KR102627690B1 (en) Dimensional context propagation techniques for optimizing SKB query plans
EP2577507B1 (en)Data mart automation
US6801903B2 (en)Collecting statistics in a database system
US10565201B2 (en)Query processing management in a database management system
US11354313B2 (en)Transforming a user-defined table function to a derived table in a database management system
US7234112B1 (en)Presenting query plans of a database system
JP5791149B2 (en) Computer-implemented method, computer program, and data processing system for database query optimization
US20030088546A1 (en)Collecting and/or presenting demographics information in a database system
US11657069B1 (en)Dynamic compilation of machine learning models based on hardware configurations
US10152510B2 (en)Query hint learning in a database management system
US11636124B1 (en)Integrating query optimization with machine learning model prediction
US9558240B2 (en)Extending relational algebra for data management
US20160342652A1 (en)Database query cursor management
US20230359668A1 (en)Dataflow graph datasets
US20240256426A1 (en)Runtime error attribution for database queries specified using a declarative database query language
May et al.SAP HANA-From Relational OLAP Database to Big Data Infrastructure.
US11449504B2 (en)Database partition pruning using dependency graph
CN113297057A (en)Memory analysis method, device and system
US20200311067A1 (en)Database partition pruning using dependency graph
CN117421302A (en)Data processing method and related equipment
US12380168B2 (en)System and method of performing a query processing in a database system using distributed in-memory technique
KR102202792B1 (en)Method and device for performing multi-caching on data sources of same or different types by using cluster-based processing system
US20240394126A1 (en)Flexible and automated object maintenance based on arbitrary object types
Gupta et al.Provenance in context of Hadoop as a Service (HaaS)-State of the Art and Research Directions
CN119149574A (en)Method, apparatus and computer program product for reading database data

Legal Events

DateCodeTitleDescription
ASAssignment

Owner name:INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text:ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ALDRICH, CRAIG S.;BURRICHTER, STEPHANIE A.;HANSON, SCOTT P.;AND OTHERS;SIGNING DATES FROM 20170106 TO 20170109;REEL/FRAME:044506/0650

STCBInformation on status: application discontinuation

Free format text:ABANDONED -- FAILURE TO PAY ISSUE FEE

ASAssignment

Owner name:ALIBABA GROUP HOLDING LIMITED, HONG KONG

Free format text:ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INTERNATIONAL BUSINESS MACHINES CORPORATION;REEL/FRAME:053970/0339

Effective date:20201002

ASAssignment

Owner name:ALIBABA GROUP HOLDING LIMITED, CAYMAN ISLANDS

Free format text:ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INTERNATIONAL BUSINESS MACHINES CORPORATION;REEL/FRAME:055339/0415

Effective date:20201021


[8]ページ先頭

©2009-2025 Movatter.jp