Git Product home page Git Product logo

flink-connector-databend's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

codering

flink-connector-databend's Issues

[Feature] multiple tables to one

feature description :

such as we have these tables that need to be synchronized.
mysql tables
a_0
a_1
b_0
b_1
c

databend tables
a
b
c

We can add two parameters to achieve this effect.
--including-tables="a_.|b_.|c"
--multi-to-one-origin="a_.|b_."
--multi-to-one-target="a|b"

Implementation principle :
1.Create only one table
2.Multiple tables to one side output stream

Support delete stmt in CDC

There are many users who want this function, so we need to support delete in CDC, otherwise the connector is not a complete CDC plan.

flink connector databend can't read

link SQL> CREATE TABLE dproducts (id INT,name String,description String, PRIMARY KEY (`id`) NOT ENFORCED)
> WITH ('connector' = 'databend',
> 'url'='databend://localhost:8000',
> 'username'='wubx',
> 'password'='wubxwubx',
> 'database-name'='default',
> 'table-name'='dproducts',
> 'sink.batch-size' = '5',
> 'sink.ignore-delete' = 'false',
> 'sink.flush-interval' = '1000',
> 'sink.max-retries' = '3');
[INFO] Execute statement succeed.

Flink SQL> select * from dproducts;
[ERROR] Could not execute SQL statement. Reason:
java.io.NotSerializableException: org.apache.flink.connector.databend.internal.converter.DatabendRowConverter

[Feature](CDC) Add auto create table

After the entire database synchronization defaults to one table and one sink, and tables cannot be automatically created. So we need to add that when use single sink, the table is automatically created without restarting the flink task.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.