-
公开(公告)号:US11907213B2
公开(公告)日:2024-02-20
申请号:US17833031
申请日:2022-06-06
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Bing Zhou , Wenwei Xue , Ting Yu Cliff Leung , Tao Li
IPC: G06F16/245 , G06F16/28 , G06F16/21 , G06F16/2452 , G06F16/2455 , G06F16/2453
CPC classification number: G06F16/24524 , G06F16/217 , G06F16/24539 , G06F16/24545 , G06F16/24562 , G06F16/284
Abstract: A query processing method including decomposing an SQL into logical plans based on data source feature information, to obtain a logical plan set, where the data source feature information is stored in an internal storage space of the query engine; generating physical plans for the logical plan set based on the data source feature information, to obtain a physical plan set; determining query costs of the physical plan set based on the data source feature information, to obtain a physical plan with a highest priority; and executing the physical plan with the highest priority, to obtain a query result queried by a user.
-
公开(公告)号:US11366808B2
公开(公告)日:2022-06-21
申请号:US16663050
申请日:2019-10-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Bing Zhou , Wenwei Xue , Ting Yu Cliff Leung , Tao Li
IPC: G06F16/245 , G06F16/28 , G06F16/21 , G06F16/2452 , G06F16/2455 , G06F16/2453
Abstract: A query processing method includes decomposing an SQL into logical plans based on data source feature information, to obtain a logical plan set, where the data source feature information is stored in an internal data source feature library of a query engine, and the internal data source feature library is stored in cache space of the query engine; generating physical plans for the logical plan set based on the data source feature information, to obtain a physical plan set; determining query costs of the physical plan set based on the data source feature information, to obtain a physical plan with a highest priority; and executing the physical plan with the highest priority, to obtain a query result queried by a user. A data source registration method and a query engine is further disclosed.
-