新增基于schema填充默认值功能(TSG-11886)
This commit is contained in:
@@ -25,11 +25,6 @@ import java.util.regex.Pattern;
|
||||
class TransFunction {
|
||||
private static final Log logger = LogFactory.get();
|
||||
|
||||
/**
|
||||
* 校验数字正则
|
||||
*/
|
||||
private static final Pattern PATTERN = Pattern.compile("[0-9]*");
|
||||
|
||||
/**
|
||||
* IP定位库工具类
|
||||
*/
|
||||
@@ -130,7 +125,7 @@ class TransFunction {
|
||||
Long teid = null;
|
||||
String[] exprs = param.split(FlowWriteConfig.FORMAT_SPLITTER);
|
||||
for (String expr : exprs) {
|
||||
Long value = JsonPathUtil.getLongValue(logValue, expr);
|
||||
Long value = JsonPathUtil.getTeidValue(logValue, expr);
|
||||
if (value != null) {
|
||||
teid = value;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user