Support of custom JDBC dialects in flink-jdbc

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Support of custom JDBC dialects in flink-jdbc

Dongwon Kim-2
Hi, I tried flink-jdbc [1] to read data from Druid because Druid implements Calcite Avatica [2], but the connection string, jdbc:avatica:remote:url=http://BROKER:8082/druid/v2/sql/avatica/, is not supported by any of JDBCDialects [3].

I implement custom JDBCDialect [4], custom StreamTableSourceFactory [5], etc in my own repository [6], but it seems overkill.

How about supporting custom JDBC dialects in flink-jdbc based on SPI?

Best,
- Dongwon

Reply | Threaded
Open this post in threaded view
|

Re: Support of custom JDBC dialects in flink-jdbc

Jark Wu-3
Hi Dongwon,

I saw many requirements on this and I'm big +1 for this. 
I created https://issues.apache.org/jira/browse/FLINK-16833 to track this effort. Hope this can be done before 1.11 release. 

Best,
Jark

On Fri, 27 Mar 2020 at 22:22, Dongwon Kim <[hidden email]> wrote:
Hi, I tried flink-jdbc [1] to read data from Druid because Druid implements Calcite Avatica [2], but the connection string, jdbc:avatica:remote:url=http://BROKER:8082/druid/v2/sql/avatica/, is not supported by any of JDBCDialects [3].

I implement custom JDBCDialect [4], custom StreamTableSourceFactory [5], etc in my own repository [6], but it seems overkill.

How about supporting custom JDBC dialects in flink-jdbc based on SPI?

Best,
- Dongwon

Reply | Threaded
Open this post in threaded view
|

Re: Support of custom JDBC dialects in flink-jdbc

Dongwon Kim-2
Hi Jark,
Many thanks for creating the issue on Jira and nice summarization :-)

Best,
Dongwon

On Sat, Mar 28, 2020 at 12:37 AM Jark Wu <[hidden email]> wrote:
Hi Dongwon,

I saw many requirements on this and I'm big +1 for this. 
I created https://issues.apache.org/jira/browse/FLINK-16833 to track this effort. Hope this can be done before 1.11 release. 

Best,
Jark

On Fri, 27 Mar 2020 at 22:22, Dongwon Kim <[hidden email]> wrote:
Hi, I tried flink-jdbc [1] to read data from Druid because Druid implements Calcite Avatica [2], but the connection string, jdbc:avatica:remote:url=http://BROKER:8082/druid/v2/sql/avatica/, is not supported by any of JDBCDialects [3].

I implement custom JDBCDialect [4], custom StreamTableSourceFactory [5], etc in my own repository [6], but it seems overkill.

How about supporting custom JDBC dialects in flink-jdbc based on SPI?

Best,
- Dongwon