Invention Grant
- Patent Title: Query rewrite for pre-joined tables
- Patent Title (中): 对预连接表进行查询重写
-
Application No.: US13295984Application Date: 2011-11-14
-
Publication No.: US08666969B2Publication Date: 2014-03-04
- Inventor: Thomas A. Beavin , Mengchu Cai , Ruiping Li , James A. Ruddy
- Applicant: Thomas A. Beavin , Mengchu Cai , Ruiping Li , James A. Ruddy
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Shumaker & Sieffert, P.A.
- Main IPC: G06F7/00
- IPC: G06F7/00

Abstract:
Various aspects of this disclosure are directed to receiving, by a computing device, a first table join query that may include a first group of table identifiers that identify the two or more tables. The computing device may determine whether the first table join query includes an outer join command. When the first table join query includes the outer join command, the computing device may compare the first group of table identifiers and a second group of table identifiers of one or more pre-joined tables to determine whether each of the first table identifiers matches at least one of the second group of table identifiers. The computing device may further determine whether a predicate associated with each table identifier matches a predicate associated with a matching second table identifier. When each of the predicates match, the computing device may rewrite the first table join query.
Public/Granted literature
- US20130124500A1 QUERY REWRITE FOR PRE-JOINED TABLES Public/Granted day:2013-05-16
Information query