-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(reasoner): add config in UdfMng #391
Conversation
@@ -54,6 +54,8 @@ public class UdfMngImpl implements UdfMng { | |||
|
|||
private static volatile UdfMngImpl instance = null; | |||
|
|||
public static ThreadLocal<Boolean> allowUDFThrowException = ThreadLocal.withInitial(() -> false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议还是搞成场景配置Map,这样兼容的情况更多。
因为这次是抛异常,也许下次会有其他场景对udf行为的控制。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to ThreadLocal<Map<String,
Object>> sceneConfigMap`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.