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

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.

主站蜘蛛池模板: 海兴县| 临江市| 望奎县| 手机| 靖江市| 梁山县| 沂源县| 岳池县| 綦江县| 文昌市| 邻水| 林州市| 安乡县| 驻马店市| 仙桃市| 寿光市| 都昌县| 胶州市| 神池县| 澎湖县| 太谷县| 汾阳市| 富源县| 奉新县| 五原县| 灵山县| 安庆市| 彭水| 湘乡市| 石柱| 南康市| 凤山县| 务川| 梅河口市| 丽水市| 桓仁| 武夷山市| 仁寿县| 隆德县| 固安县| 德惠市|