-
公开(公告)号:US20180121326A1
公开(公告)日:2018-05-03
申请号:US15339615
申请日:2016-10-31
Applicant: SAP SE
Inventor: Weimin Qi , Jaehyok Chong , Kihong Kim , Yu Wang , Di Wu
CPC classification number: G06F17/30463 , G06F8/427 , G06F11/3628 , G06F11/3636 , G06F17/30474
Abstract: A query is parsed and positions of symbols of the query are determined. A parse tree including the positions of the symbols is generated based on the parsed query. The parse tree is sent to a DBMS optimizer. The parse tree is transformed into an optimizer tree. The optimizer tree includes the positions of the symbols of the query.Based on the optimizer tree, a query execution plan is generated for the execution of the query. The positions of the symbols of the query is copied from the optimizer tree into the query execution plan. The query execution plan is sent to a query execution engine.The query is executed in accordance with the query execution plan. When a runtime error is detected, an exception message associated with the runtime error is displayed. The error message includes an error code and the positions of the symbols of the query.