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

Handling errors

So far, each time you got an error you had the opportunity to discover what kind of error it was and fix it. This is quite different form real scenarios, mainly for two reasons:

  • Real data has errors—a fact that cannot be avoided. If you fail to heed it, the transformations that run with test or sample data will probably crash when running with real data.
  • In most cases, your final work is run by an automated process and not by a user from Spoon. Therefore, if a transformation crashes, there will be nobody who notices and reacts to that situation.

In the next section, you will learn the simplest way to trap errors that may occur, avoiding unexpected crashes. This is the first step in the creation of transformations ready to be run in a production environment.

主站蜘蛛池模板: 高碑店市| 赣州市| 金乡县| 天镇县| 宣化县| 射阳县| 卫辉市| 乐陵市| 高邑县| 宿州市| 荆门市| 水富县| 南澳县| 剑川县| 宁武县| 河间市| 阳春市| 新丰县| 德令哈市| 贞丰县| 朝阳区| 土默特左旗| 颍上县| 吴江市| 古交市| 长岛县| 临颍县| 达日县| 罗平县| 芮城县| 库尔勒市| 文成县| 信宜市| 古浪县| 育儿| 文成县| 德兴市| 西和县| 五原县| 厦门市| 齐河县|