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

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).

主站蜘蛛池模板: 平陆县| 海宁市| 浙江省| 宜兰县| 平顶山市| 商洛市| 昌图县| 昌图县| 新干县| 东方市| 德保县| 黔西县| 布拖县| 彭山县| 雷山县| 昌都县| 福鼎市| 来凤县| 德兴市| 福建省| 会昌县| 青阳县| 静乐县| 行唐县| 青海省| 秦安县| 津市市| 任丘市| 镇坪县| 衡山县| 二手房| 康保县| 凯里市| 新沂市| 理塘县| 霸州市| 桑植县| 准格尔旗| 泾川县| 神池县| 灵璧县|