Skip to content
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

MongoDB作为数据源不支持Transformer功能 #371

Open
baisui1981 opened this issue Oct 15, 2024 · 0 comments
Open

MongoDB作为数据源不支持Transformer功能 #371

baisui1981 opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@baisui1981
Copy link
Member

操作截图

截屏2024-10-15 16 16 17

报以下错误

Caused by: java.lang.RuntimeException: com.qlangtech.tis.plugin.datax.transformer.impl.AbstractFromColumnUDFDefinition.colsCandidate()
	at com.qlangtech.tis.extension.util.GroovyShellEvaluate.eval(GroovyShellEvaluate.java:112)
	at com.qlangtech.tis.extension.util.GroovyShellEvaluate.lambda$scriptEval$0(GroovyShellEvaluate.java:85)
	at com.qlangtech.tis.trigger.util.UnCacheString.getValue(UnCacheString.java:39)
	... 161 more
Caused by: java.lang.UnsupportedOperationException: getDbConfig
	at com.qlangtech.tis.plugin.ds.mangodb.MangoDBDataSourceFactory.getDbConfig(MangoDBDataSourceFactory.java:144)
	at com.qlangtech.tis.plugin.datax.common.TableColsMeta.<init>(TableColsMeta.java:52)
	at com.qlangtech.tis.plugin.datax.common.BasicDataXRdbmsReader.getTabsMeta(BasicDataXRdbmsReader.java:211)
	at com.qlangtech.tis.plugin.datax.common.BasicDataXRdbmsReader.fillSelectedTabMeta(BasicDataXRdbmsReader.java:162)
	at com.qlangtech.tis.plugin.datax.common.BasicDataXRdbmsReader.fillSelectedTabMeta(BasicDataXRdbmsReader.java:150)
	at com.qlangtech.tis.plugin.datax.SelectedTab.lambda$getContextTableColsStream$8(SelectedTab.java:319)
	at com.qlangtech.tis.plugin.datax.ThreadCacheTableCols.getSelectedCols(ThreadCacheTableCols.java:54)
	at com.qlangtech.tis.plugin.datax.SelectedTab.getSelectedCols(SelectedTab.java:161)
	at com.qlangtech.tis.plugin.datax.transformer.UDFDefinition.colsCandidate(UDFDefinition.java:79)
	at com.qlangtech.tis.plugin.datax.transformer.UDFDefinition$colsCandidate.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:130)
	at Script17.run(Script17.groovy:1)
	at com.qlangtech.tis.extension.util.GroovyShellEvaluate.eval(GroovyShellEvaluate.java:110)
@baisui1981 baisui1981 added the bug Something isn't working label Oct 15, 2024
@baisui1981 baisui1981 added this to the V4.1.0 milestone Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant