高级清洗抛错说明
Error Reporting in Data Cleaning Scripts
1、数据进错误队列-CustomizedCodeEngineException
import java.util.Map;
import com.datapipeline.base.connector.codeengine.CustomizedCodeEngineException;
public class Mid_5_df135ce450322546db5b16f5801355f41e3c {
public Map<String, Object> process(Map<String, Object> record) throws CustomizedCodeEngineException
{ throw new CustomizedCodeEngineException("Error queue"); }
}2、任务报错
import java.util.Map;
import com.datapipeline.base.connector.codeengine.CustomizedCodeEngineException;
public class Mid_5_df135ce450322546db5b16f5801355f41e3c {
public Map<String, Object> process(Map<String, Object> record) throws CustomizedCodeEngineException
{ throw new IllegalArgumentException("Wrong argument"); }
}最后更新于
这有帮助吗?