udf直接抛异常,强制中断映射.
if("123".equals(var1)){
try{
}catch(Exception e){
}finally{
throw new RuntimeException("=====Mapping stopped due to NUM field value is 123.");
}
}else{
return var1;
}
if("123".equals(var1)){
try{
}catch(Exception e){
}finally{
throw new RuntimeException("=====Mapping stopped due to NUM field value is 123.");
}
}else{
return var1;
}
暂无评论。
评论功能维护中,当前仅展示历史评论。