官术网_书友最值得收藏!

How to go from Unresolved Logical Execution Plan to Resolved Logical Execution Plan

The ULEP basically reflects the structure of an AST. So again, the AST is generated from the user's code implemented either on top of the relational API of DataFrames and Datasets or using SQL, or all three. This AST can be easily transformed into a ULEP. But, of course, a ULEP can't be executed. The first thing that is checked is if the referred relations exist in the catalog. This means all table names and fields expressed in the SQL statement or relational API have to exist. If the table (or relation) exists, the column names are verified. In addition, the column names that are referred to multiple times are given an alias in order to read them only once. This is already a first stage optimization taking place here. Finally, the data types of the columns are determined in order to check if the operations expressed on top of the columns are valid. So for example taking the sum of a string doesn't work and this error is already caught at this stage. The result of this operation is a Resolved Logical Execution Plan (LEP).

主站蜘蛛池模板: 彰化县| 无极县| 精河县| 股票| 花莲市| 正宁县| 山阳县| 文登市| 图们市| 甘泉县| 淄博市| 安多县| 鲁甸县| 汶上县| 澄迈县| 寿阳县| 武宣县| 客服| 荔波县| 锡林郭勒盟| 定西市| 静安区| 通城县| 新巴尔虎右旗| 林周县| 游戏| 淮阳县| 鱼台县| 上饶市| 射阳县| 通许县| 延长县| 武隆县| 韶关市| 安化县| 庆云县| 延津县| 葫芦岛市| 通榆县| 阜新| 兴山县|