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

[BitSail][MultiTableSInk]Bitsail enabled write multi sink in single task. #472

Open
wants to merge 59 commits into
base: master
Choose a base branch
from

Conversation

hk-lrzy
Copy link
Collaborator

@hk-lrzy hk-lrzy commented Apr 24, 2023

Prepare a Pull Request

  • Title: [BitSail-XYZ][XxxType] Title of the pull request

  • Fixes: #XYZ

Please change the PR title and the related issue number refer to the following description.

The above XYZ must be replaced with the actual GitHub Issue number, indicating that the current PR is used to solve the problem described in this Issue.

If you don't find an Issue that matches your changes, please Create Issue first, then commit this PR.

For more info about the contributing guide, see: Contributing Guide

Motivation

Describe what this PR does and what problems you're trying to solve.

Modifications

Describe the modifications you've done.

Verifying this change

Please pick either of the following options.

  • This change is a trivial rework/code cleanup without any test coverage.

  • This change is already covered by existing tests, such as:
    (please describe tests, example:)

    • com.bytedance.bitsail.core.EngineTest#testRunEngine
  • This change added tests and can be verified as follows:

    (example:)

    • Added unit tests for parsing of configs
    • Optimized integration tests for recovery after task failure

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

haoke added 30 commits December 22, 2022 16:30
haoke added 28 commits February 28, 2023 14:54
@@ -33,6 +33,27 @@
</properties>

<dependencies>
<dependency>
<groupId>io.debezium</groupId>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we not include debezium in the cdc base module?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not, i think all sub module all need this module?

@@ -59,6 +59,9 @@ engine.type.to.bitsail.type.converter:
- source.type: date
target.type: date.date

- source.type: bit
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does doris has bit datatype? I didn't see this type when I look at doris documentation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There have some context, now we need get doris columns by jdbc, and we will get mysql data type.


<dependencyManagement>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some cdc connector may not use debezium in the future, let's keep this in the submodule.

private static final int CONTAINS_SCHEMA_TABLE_ID_LENGTH = 3;

private final String database;
private final String schema;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add UT for this class, curious about how's the format of each obj.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, i will do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants