-
公开(公告)号:US20220300506A1
公开(公告)日:2022-09-22
申请号:US17833031
申请日:2022-06-06
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Bing ZHOU , Wenwei XUE , Ting Yu Cliff LEUNG , Tao LI
IPC: G06F16/2452 , G06F16/2455 , G06F16/21 , G06F16/2453 , G06F16/28
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. The embodiments of this application further disclose a data source registration method and a query engine.
-
公开(公告)号:US20200073867A1
公开(公告)日:2020-03-05
申请号:US16663050
申请日:2019-10-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Bing ZHOU , Wenwei XUE , Ting Yu Cliff LEUNG , Tao LI
IPC: G06F16/2452 , G06F16/2453 , G06F16/28 , G06F16/2455 , G06F16/21
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 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. The embodiments of this application further disclose a data source registration method and a query engine.
-