When inergration with seatunnel-web, In some cases the config file parse will got exception.
Some detail information:
If only define one source ( or one sink ). The ConfigFactory.parseFile() method will parse the source as a SimpleConfigObject instead of SimpleConfigList.
So when we case source as List<Map> will get exception.
This is a hotfix.
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
Purpose of this pull request
fix issue https://github.com/apache/seatunnel/issues/5700
When inergration with seatunnel-web, In some cases the config file parse will got exception.
Some detail information: If only define one source ( or one sink ). The
ConfigFactory.parseFile()
method will parse thesource
as aSimpleConfigObject
instead ofSimpleConfigList
. So when we case source asList<Map>
will get exception.This is a hotfix.
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
release-note
.