Add third-party plug-in folder and Transformer UDF instruction document. #915
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
添加了 local_storage 文件夹,其中
local_storage/transformer
可专门用来放置第三方及自定义的 Transformer UDF,同时添加了使用文档。说明:
源码中 TransformerRegistry 第 47-104 行的代码中已经实现了从
local_storage/transformer
延迟加载第三方 Transformer 的功能,是一种更加优雅加载第三方或自定义 Transformer UDF 的方式,提供一份文档,并推荐这样使用。同时修复了加载用户使用的 Transformer 方法名的日志输出格式, 因为 functionNames 已经是 List,调用默认的 toString 方法输出后本身已经带有中括号
[]
,可以不用重复输出中括号。