Search before asking
What happened
数据源:pgsql ,配置的schema是 inter,不是默认的public
自动义:inter.表名,当自定义sql带前缀的时候 最终会解析成 inter.inter.表名,导致表名验证失败
DataVines Version
无
DataVines Config
"sources": [
{
"plugin": "jdbc",
"type": "source",
"config": {
"src_connector_type": "postgresql",
"schema": "inter",
"password": "******",
"database": "inter",
"driver": "org.postgresql.Driver",
"user": "xxxx",
"output_table": "mid_flt_price_ivs",
"table": "inter.inter.mid_flt_price_ivs",
"url": "jdbc:postgresql://xxx:5432/inter"
}
}
],
Running Command
Error Exception
1、加inter:com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: FATAL: database "inter" does not exist
2、不加inter:sql解析错误
Engine Type
No response
Java Version
No response
Screenshots
No response
Are you willing to submit PR?
Search before asking
What happened
数据源:pgsql ,配置的schema是 inter,不是默认的public
自动义:inter.表名,当自定义sql带前缀的时候 最终会解析成 inter.inter.表名,导致表名验证失败
DataVines Version
无
DataVines Config
Running Command
Error Exception
Engine Type
No response
Java Version
No response
Screenshots
No response
Are you willing to submit PR?