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

Forced concatenation

There will be some cases in which you would like to concatenate two tables irrespective of the number of columns and name. In such a case, you should use the keyword Concatenate between two Load statements to concatenate those two tables. This is called the forced concatenation.

For example, if you have sales and budget data at similar granularity and you want to concatenate them, then you should use the Concatenate keyword to forcefully concatenate both tables, as shown in the following screenshot:

The output table after loading this script will have data for common columns, one below the other. For the columns that are not same, there will be null values in those columns for the table in which they didn't exist. This is shown in the following output:

You can see in preceding screenshot that the SalesAmount is null for the budget data, and Budget is null for the sales data.

Forced concatenation results in many null values, and thus you must handle nulls when you use forced concatenation.
主站蜘蛛池模板: 游戏| 抚州市| 罗定市| 离岛区| 武威市| 黄骅市| 新巴尔虎右旗| 日照市| 舒兰市| 托克托县| 新余市| 噶尔县| 丰城市| 大方县| 太康县| 施秉县| 南乐县| 北碚区| 武宁县| 云林县| 瓮安县| 盱眙县| 巴南区| 万年县| 万宁市| 怀集县| 天等县| 渭源县| 依兰县| 德格县| 镇雄县| 留坝县| 玛曲县| 洛南县| 顺平县| 克什克腾旗| 平武县| 和龙市| 瓮安县| 兰西县| 武山县|